Commit Graph

103 Commits

Author SHA1 Message Date
Andy Arthur
c739b90848 fixed field index adjustments, added tests 2020-06-19 17:40:22 -05:00
Andy Arthur
c87927a40e cleanup 2020-06-19 17:40:22 -05:00
Andy Arthur
31ac9edb80 fixes, added tests 2020-06-19 17:40:22 -05:00
Andy Arthur
aff87a7384 first pass 2020-06-19 17:40:22 -05:00
Daylon Wilkins
b91178ce7a Foreign Keys groundwork implementation 2020-06-13 21:16:47 -07:00
Andy Arthur
03d428f56c made nodeDiffer private, cleanup 2020-06-12 11:11:08 -05:00
Andy Arthur
a250b9c232 merge master 2020-06-12 10:40:11 -05:00
Andy Arthur
ddf11745cc copyright headers 2020-06-11 16:54:25 -05:00
Andy Arthur
2114d29cbc added bats and error handling 2020-06-11 16:24:50 -05:00
Andy Arthur
1f347869d6 unittests 2020-06-11 12:19:50 -05:00
Andy Arthur
21e6574a51 refactor 2020-06-11 11:09:43 -05:00
Andy Arthur
d7df5f6306 redesigned query_diff 2020-06-11 09:45:18 -05:00
Andy Arthur
592999f73c function docs 2020-06-09 17:01:07 -05:00
Andy Arthur
0053b9fab3 clean up diff 2020-06-09 17:01:07 -05:00
Andy Arthur
333aeb1fd2 added more bats 2020-06-09 17:01:07 -05:00
Andy Arthur
35a4194852 repo fmt 2020-06-09 17:01:07 -05:00
Andy Arthur
72c049978e reworked doc diffs, deleted out-of-date schema-changes BATS 2020-06-09 17:01:07 -05:00
Andy Arthur
7fc5f9bdaf renamed old/new -> from/to, tracking renames 2020-06-09 17:01:07 -05:00
Andy Arthur
0da8e893bd first pass at table renames 2020-06-09 17:00:21 -05:00
Andy Arthur
b71737c373 added bats and hid command 2020-06-09 11:48:57 -05:00
Andy Arthur
8760e4119a concurrency 2020-06-09 10:53:04 -05:00
Andy Arthur
c9cf189969 added --with-tags flag to schema export 2020-06-04 14:59:41 -05:00
Andy Arthur
69138a3d92 added string escaping from vitess 2020-05-13 16:24:31 -07:00
Zach Musgrave
7b6325731f Formatting
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-04-29 21:35:39 -07:00
Zach Musgrave
2178d674e8 Moved a lot of things around to mostly eliminate the sqltestutil package, as well as everything else in the old sql package, and then get rid of import cycles.
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-04-28 16:28:43 -07:00
Zach Musgrave
7ead0abbf6 Added json output format for SQL, and fixed null printing bug in CSV output
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-04-10 11:52:19 -07:00
Andy Arthur
563ca98398 deterministic tag generation changes 2020-03-30 16:02:08 -07:00
Andy Arthur
6236663427 added doc strings to exported methods 2020-03-09 12:05:44 -07:00
Andy Arthur
538180537c cleanup 2020-03-09 10:48:36 -07:00
Andy Arthur
a81563a8a1 reorganized to creat testcommands package 2020-03-09 10:48:36 -07:00
Zach Musgrave
a996e0ce62 Implemented table rename in engine. Including a column rename left over from last commit.
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2019-12-26 12:04:57 -08:00
Andy Arthur
e08f1848fd created library methods for schema modification sql statements 2019-12-04 15:46:38 -08:00
Brian Hendriks
c7e47f8d6a Bh/super schema (#214)
* super schemas
* diff table
* disable diff_tables for now.
2019-11-18 16:21:02 -08:00
Andy Arthur
8bddfddd7b updated unittests 2019-11-18 08:52:36 -08:00
Andy Arthur
0546757be2 unittests 2019-11-15 15:16:16 -08:00
Andy Arthur
c4d27b14eb unit test for findRenames 2019-11-15 14:56:03 -08:00
Andy Arthur
38fb4dbf0c renaming func 2019-11-15 14:54:40 -08:00
Andy Arthur
8d9b95d948 repo format 2019-11-15 11:18:00 -08:00
Andy Arthur
6ce033b972 using sql.SchemaAsCreateStmt 2019-11-15 11:16:08 -08:00
Andy Arthur
930c66d189 repo fmt 2019-11-15 10:07:41 -08:00
Andy Arthur
2db9217ba3 refactored 2019-11-15 10:06:56 -08:00
Andy Arthur
802ceb00aa expanding bats tests 2019-11-15 09:45:18 -08:00
Andy Arthur
800fc38f47 adding copyright 2019-11-15 08:56:32 -08:00
Andy Arthur
5aa709f229 repo format 2019-11-15 08:42:47 -08:00
Andy Arthur
d587f56031 added renaming 2019-11-15 08:41:19 -08:00
Andy Arthur
f3cb987484 extending test to cover renames 2019-11-14 17:30:32 -08:00
Andy Arthur
05ce307ea9 fixed bug in table differ 2019-11-14 17:22:56 -08:00
Andy Arthur
380e35bec7 new table diff implementation 2019-11-14 16:09:09 -08:00
Andy Arthur
c0eeec2d5b removing breaking print stmt 2019-11-14 14:14:06 -08:00
Andy Arthur
7efba0e1a6 refactored 2019-11-14 12:41:32 -08:00