Commit Graph

115 Commits

Author SHA1 Message Date
Simon Binder ed9aeb866a
Add step-by-step migration API 2023-07-01 16:41:22 +02:00
Simon Binder 8b7872fc67
Start with generator for all schema versions 2023-06-28 15:54:32 +02:00
Simon Binder 81315c3d69
Migrate mentions of `flutter pub run` 2023-06-19 16:09:47 +02:00
Simon Binder 342027b420
Update to stable sqlite3 package 2023-06-17 22:19:31 +02:00
Simon Binder 0bf6d0c384
Update web docs 2023-06-17 22:14:59 +02:00
Simon Binder b01c8494e5
Rename old web test package 2023-06-10 18:01:25 +02:00
Simon Binder 61c641001a
Allow latest sqlite3 in encryption sample 2023-06-04 22:11:56 +02:00
Simon Binder 9f2405be26
Merge branch 'develop' into web-v2 2023-06-04 22:10:44 +02:00
Simon Binder ba9360f063
Fix dependency conflicts in some examples 2023-06-01 11:23:57 +02:00
Simon Binder ec5927bc2a
Add web compatibility information to web page 2023-05-31 23:48:13 +02:00
Simon Binder ff41de2a6b
Get new wasm implementation working in Chrome 2023-05-31 22:48:29 +02:00
Simon Binder 2fb7300ad2
Fix web worker example 2023-05-15 21:28:19 +02:00
Simon Binder 8498cfb8d9
Fix build in app example 2023-05-15 09:12:59 +02:00
Simon Binder 28417c52af
Fix lints and warnings added in Dart 3.0 2023-05-12 22:42:21 +02:00
Eli Geller 54f6eea205
small typo fixes (#2410)
Co-authored-by: Eli Geller <eli@reportallusa.com>
2023-05-05 16:10:52 +02:00
Simon Binder b4b4e350dd
Simplify creation of web workers for drift 2023-04-10 23:01:30 +02:00
Simon Binder a6549425ef
Serialize and restore file dependencies too 2023-03-25 16:29:07 +01:00
Simon Binder d6e074e704
Fix `validateDatabaseSchema` in schema tests 2023-03-23 17:56:50 +01:00
Simon Binder e91df496c8
Update dependencies for app example 2023-03-05 22:15:16 +01:00
Simon Binder adc2e22c46
Ignore lints in generated schema code 2023-03-03 20:57:32 +01:00
Simon Binder 5166e5d294
Add rowid parameter to companions 2023-02-19 13:46:58 +01:00
Simon Binder 21ff422f19
Support `@create` queries in modular mode (#2313) 2023-02-12 12:44:47 +01:00
Simon Binder d30d2a1212
Add backup/restore functionality to example app 2023-02-08 00:35:55 +01:00
Simon Binder cd2cf1f3b3
Fix blob columns with modular code generation (#2306) 2023-02-07 22:27:53 +01:00
Simon Binder 28f31d183e
Remove connect constructor in migration example 2023-01-28 19:33:34 +01:00
Simon Binder 0d354b3bec
Deprecate special connect constructor 2023-01-28 16:53:35 +01:00
Simon Binder 83fad8426e
Make `generate_connect_constructor` the default 2023-01-28 16:14:27 +01:00
Simon Binder 592a96bf7e
Remove default options from app example 2023-01-27 16:45:00 +01:00
Simon Binder b1f2ea45d5
FIx recent deprecation warnings 2023-01-26 16:56:16 +01:00
Simon Binder 6b4a186b15
Fix extending classes in modular mode (#2260) 2023-01-10 12:26:14 +01:00
Alexander Wilde 91495e6f8d Rebuild 2022-12-31 03:33:54 +00:00
Simon Binder 1d8fa16e2c
Enable legacy alter table in alterTable 2022-12-23 13:42:01 +01:00
Alexander Wilde 32c34b511a Fix DriftSqlType.deserialize for double, dateTime and any 2022-12-22 02:08:04 +00:00
Simon Binder 18c6139eb3
Exchange dialect information for remote database 2022-12-18 22:02:49 +01:00
Simon Binder e2265eb597
Add `DriftAny` type to wrap `ANY` in strit tables 2022-12-18 18:55:17 +01:00
Simon Binder b520568984
Ignore internal tables when reading schema from db 2022-12-18 15:26:40 +01:00
Simon Binder 657b68ab76
Extract custom Dart table constraints into schema 2022-12-16 15:34:07 +01:00
Simon Binder add680b8bf
Move `SchemaInstantiationHelper` to drift package 2022-12-16 14:09:54 +01:00
Simon Binder 00dbc2f886
Avoid nested codes, add tests 2022-12-13 21:53:17 +01:00
Simon Binder 16e6aaf4fe
Use extension for all tables in modular generation 2022-12-12 23:50:11 +01:00
Simon Binder 1c06873403
Fix reading triggers in old schema files (#2191) 2022-12-10 22:57:45 +01:00
Simon Binder c0c1810bcf
Don't generate empty drift accessors 2022-12-07 10:55:20 +01:00
Simon Binder a637708591
Generate getters for DAO as well 2022-12-06 22:10:21 +01:00
Simon Binder 5a8dd923d6
Add more examples to modular project 2022-12-06 21:19:20 +01:00
Alexander Wilde ec01ad275a Various fixes for modular code gen 2022-12-05 17:16:06 +00:00
Simon Binder c0d5188c18
Fix generating modular type converter code (#2183) 2022-12-04 19:14:24 +01:00
Simon Binder 387a21c580
Relax constraints on element order in drift files 2022-12-03 00:06:05 +01:00
Alexander Wilde 5a6f402d86 Run build 2022-12-01 04:43:27 +00:00
ValentinVignal 99affe3fac
🐛 Use correct type for enum converter 2022-11-30 23:53:46 +08:00
Simon Binder d24644113a
Fix generating schema test code 2022-11-28 21:59:17 +01:00