Commit Graph

2751 Commits

Author SHA1 Message Date
Abitofevrything 54b58948d3 Run melos run build 2022-11-05 20:35:24 +01:00
Abitofevrything 658bd5d646 Update test case 2022-11-05 20:35:02 +01:00
Abitofevrything cb1389f272 Extract generated code to method 2022-11-05 20:34:55 +01:00
Simon Binder 3b12faaa46
Start migrating schema files to new analyzer 2022-11-05 19:44:43 +01:00
Simon Binder c5a800d4c4
Migrate simple CLI tools to new analyzer 2022-11-05 18:32:13 +01:00
Simon Binder 0f06640dde
Merge pull request #2121 from North101/develop
Add isInValues and isNotInValues
2022-11-05 15:19:41 +01:00
Simon Binder a0aa437b7c
Merge branch 'develop' into North101/develop 2022-11-05 15:12:10 +01:00
Simon Binder b0ee5eb06e
Fix other test, add changelog 2022-11-05 15:11:32 +01:00
Simon Binder d990787451
Remove setup test 2022-11-05 15:01:25 +01:00
Simon Binder f09322aeb5
Add insertAll method 2022-11-04 22:08:45 +01:00
Alexander Wilde 58514da1f6 Format files 2022-11-04 13:16:34 +00:00
Alexander Wilde 84371435fb Remove ignoreNulls 2022-11-04 13:15:06 +00:00
Alexander Wilde 84a22c620c Add tests for isInValues and isNotInValues 2022-11-04 13:04:31 +00:00
Alexander Wilde d7e91ec270 Add null checking for isInValues and isNotInValues 2022-11-04 13:04:21 +00:00
Simon Binder c5504237d5
Make drift's tests pass with new analyzer 2022-11-04 13:42:06 +01:00
Alexander Wilde 729cbbe42c Add isInValues and isNotInValues 2022-11-03 16:58:28 +00:00
Simon Binder b776c672c2
Fix missing semicolon in drift docs (#2118) 2022-11-02 21:26:20 +01:00
Simon Binder c2b319bc8e
Fix writing type converters 2022-11-01 00:14:17 +01:00
Simon Binder fe3566429f
Migrate more analyzer tests 2022-10-30 19:41:59 +01:00
Simon Binder 23b0c8a362
Migrate drift file analysis tests to new analyzer 2022-10-30 16:09:38 +01:00
Abitofevrything 897f8c10ad Remove unneeded parameter 2022-10-29 18:09:23 +02:00
Simon Binder 292dd9946d
Port more tests over to new analyzer 2022-10-29 17:30:18 +02:00
Abitofevrything 7ad933eccd Add tests for postgres boolean type 2022-10-29 17:00:26 +02:00
Abitofevrything d817163681 Add support for boolean sql type 2022-10-29 16:40:15 +02:00
Abitofevrything 2106b7010b Pass dialect to SqlTypes methods 2022-10-29 16:36:04 +02:00
Abitofevrything fbff2ceccd Use postgresql boolean type for bool columns 2022-10-29 15:48:45 +02:00
Simon Binder 49470e8361
Support serializing fts5 tablesi n new analyzer 2022-10-29 14:39:28 +02:00
Abitofevrything 3ec04df46f Run melos run build 2022-10-29 14:36:50 +02:00
Abitofevrything 52b885c007 Don't export customConstraints in schema file is constraints are empty 2022-10-29 14:22:22 +02:00
Abitofevrything 52d2d908c0 Don't generate empty constraints 2022-10-29 13:37:38 +02:00
Abitofevrything aefc887c77 Correctly call defaultConstraints 2022-10-29 13:17:27 +02:00
Abitofevrything c8d63b845d Generate dialect-specific constraints 2022-10-29 13:16:21 +02:00
Abitofevrything fa512a5901 Change defaultConstraints to be a callback 2022-10-29 12:44:39 +02:00
Simon Binder fdd1d2c66e
Fix deprecation warnings from analyzer upgrade 2022-10-29 12:17:07 +02:00
Simon Binder cbca76e7e1
Update drift dependency for drift_postgres
Closes #2114
2022-10-29 12:03:52 +02:00
Simon Binder e3a29ebbe2
Migrate some tests to new analyzer 2022-10-26 23:09:05 +02:00
Simon Binder 69808525c0
Port over drift lints to new analyzer 2022-10-26 20:36:35 +02:00
Simon Binder cd9865f696
Simplify documentation setup 2022-10-25 22:15:09 +02:00
Simon Binder 81679b8ff1
Fix formatting some Dart placeholders 2022-10-23 18:13:40 +02:00
Simon Binder f38d56842e
Fix nullability for drift -> sqlparser mapping 2022-10-23 17:46:57 +02:00
Simon Binder 9f48d49cb3
Read primary key in drift files 2022-10-23 17:36:28 +02:00
Simon Binder 75169c9d7e
Read type converters in drift files 2022-10-23 17:15:59 +02:00
Simon Binder 70a88cfe3a
Fix generating array types with new analyzers 2022-10-23 15:52:21 +02:00
Simon Binder e3b6c56f08
Fix syntax error in generated code for queries 2022-10-19 23:35:54 +02:00
Simon Binder 2ec63749f8
New analyzer: Better support for virtual tables 2022-10-18 22:28:53 +02:00
Simon Binder b16b5ad2c2
Merge branch 'develop' into modular-generation 2022-10-18 21:55:43 +02:00
Simon Binder eb840db4be
Merge pull request #2102 from North101/develop
Decouple JsonTypeConverter from TypeConverter
2022-10-18 20:45:33 +02:00
Simon Binder 51f4c28283
Document new type converters 2022-10-18 20:39:50 +02:00
Simon Binder 92bb5a7fa1
Add test and changelog 2022-10-18 20:36:09 +02:00
Alexander Wilde 09951adda6 JsonTypeConverterWithDifferentTypes -> JsonTypeConverter2 2022-10-18 01:06:22 +01:00