Commit Graph

2540 Commits

Author SHA1 Message Date
Simon Binder eea63cb5c9
Skip some broken datetime tests on the web 2022-08-08 13:59:37 +02:00
Simon Binder 5063afb8a4
Merge pull request #1959 from simolus3/fix-lint-warning
Fix lint warnings when strict type check enabled
2022-08-08 13:32:58 +02:00
westito 40554c8166 Merge remote-tracking branch 'simolus3/develop' into fix-lint-warning 2022-08-08 11:30:57 +02:00
westito e65c4d15d0 Regenerate database files 2022-08-08 11:30:47 +02:00
westito 5c05b4e375
Update drift_dev/lib/src/writer/database_writer.dart
Co-authored-by: Simon Binder <oss@simonbinder.eu>
2022-08-08 11:27:03 +02:00
westito 940ecd2ec4 Merge remote-tracking branch 'simolus3/develop' into fix-toColumns-null-check 2022-08-08 11:18:49 +02:00
westito ea5cb2e85f Regenerate databases 2022-08-08 11:14:50 +02:00
westito 936656b6cc Add docker test 2022-08-08 10:26:51 +02:00
Simon Binder d5b8d5f1f6
Update docs license and home page 2022-08-07 17:13:59 +02:00
Simon Binder a735e91f30
Test to ensure text datetimes preserve millis 2022-08-07 13:35:27 +02:00
Simon Binder 50a65b236a
Upgrade to latest analyzer 2022-08-06 22:11:44 +02:00
Simon Binder 8cc85de5f7
Improve error message for schema difference 2022-08-06 21:35:05 +02:00
Simon Binder b6f6156407
Support datetime -> string serialization 2022-08-03 20:31:19 +02:00
westito 26333eafb5 Fix lint warnings when strict type check enabled 2022-08-01 12:15:42 +02:00
westito 4bb36488e1 Remove null check when parameter is not nullable in dart 2022-08-01 12:03:43 +02:00
Simon Binder b2cb0f6000
Forbid whereSamePrimaryKey for null values (#1956) 2022-07-31 23:26:00 +02:00
Simon Binder c69b34278b
Fix overly long line 2022-07-29 19:05:42 +02:00
Simon Binder cf95ed6f05
Re-generate migration tests in app example 2022-07-29 18:54:41 +02:00
Simon Binder 10eb6b9a9c
Fix test for collate expressions 2022-07-27 20:46:54 +02:00
Simon Binder bc61288bed
Support custom collations 2022-07-27 18:01:13 +02:00
Simon Binder a9026fef3a
Remove `DateTimeWeekday` 2022-07-26 19:25:59 +02:00
Simon Binder 0cb3527680
Schema tool: Store whether dates are text 2022-07-26 19:18:17 +02:00
Simon Binder 9158c31240
Respect db options in runtime schema validation 2022-07-26 18:33:09 +02:00
Simon Binder 77e7b99f2f
Fix equality for datetime expressions 2022-07-26 18:24:06 +02:00
Simon Binder 080ef7210c
Add `RETURNING` variants of update and delete 2022-07-25 22:27:57 +02:00
Simon Binder d79c7e07ba
Lints for probable text datetime misuses 2022-07-25 20:58:39 +02:00
Simon Binder 1ff7ddbd82
Document dates as text on website 2022-07-25 15:26:16 +02:00
Simon Binder 6c0e27b24c
SQL analysis for text datetimes 2022-07-24 19:19:18 +02:00
Simon Binder 68e6deb9c2
Run integration tests on date time expressions 2022-07-24 17:50:54 +02:00
Simon Binder 9eb37ba243
Support text datetimes in expression builder 2022-07-24 17:50:54 +02:00
Simon Binder 44e360e28d
Properly store text date time values 2022-07-24 17:50:54 +02:00
Simon Binder 592e2cdd5d
Add build option for dates as text 2022-07-24 17:50:48 +02:00
Simon Binder efb4c5f503
Fix deprecation warning 2022-07-23 23:20:07 +02:00
Simon Binder c1a2e1ec43
Remove test for the native database tracker
Ideally, finalizers added in the `sqlite3` package should replace this
functionality.  Currently, it seems like finalizers are not triggered by
hot restarts which is unfortunate, but we also can't test the feature
reliably since it now causes databases to be closed twice (once by
the test and once because sqlite3's finalizer runs).
2022-07-23 23:10:52 +02:00
Simon Binder 867f8cbfed
Remove drift_dev's ColumnType 2022-07-21 21:12:55 +02:00
Simon Binder 4d9b505703
Add Expression.equalsNullable 2022-07-21 21:12:36 +02:00
Simon Binder c0da411db4
Merge pull request #1937 from North101/develop
Fix generated fromJson for nullable columns with a JsonTypeConverter
2022-07-21 21:12:21 +02:00
Alexander Wilde 8fe2f24e56 Run tools/generate_all.sh 2022-07-21 18:00:03 +01:00
Alexander Wilde e12021150e Fix generated fromJson for nullable columns with a JsonTypeConverters 2022-07-21 17:33:23 +01:00
Simon Binder 3744fa0601
Merge branch 'develop' into refactor-type-system 2022-07-20 22:37:34 +02:00
Simon Binder 626d99144c
Add changelog entry 2022-07-20 22:29:21 +02:00
Simon Binder 29eb0a2d79
Fix bad rebase 2022-07-20 21:54:19 +02:00
Simon Binder 3564d725a9
Merge pull request #1932 from ValentinVignal/const-constructor
Add a `const` constructor to non mutable classes
2022-07-20 21:31:49 +02:00
Simon Binder 0c2ebb6c4d
Don't generate variables in `CREATE TABLE` (#1936) 2022-07-20 21:28:47 +02:00
ValentinVignal 7134e892c0 🚨 Fix lines more than 80 characters + add some other const keywords 2022-07-20 09:30:57 +08:00
ValentinVignal 26b6fc4203 🚨 Add missing const keywords 2022-07-20 09:20:45 +08:00
ValentinVignal 1b001e5fa0 🚚 Move gitignore to root 2022-07-20 09:14:14 +08:00
Simon Binder 9325af9c0e
Fix another test in drift_dev 2022-07-19 23:23:43 +02:00
Simon Binder a8c6031fc4
Add documentation comments, fix analysis warnings 2022-07-19 23:01:22 +02:00
Simon Binder 22d5f0a8ae
Fix tests 2022-07-19 22:55:08 +02:00