Flutter Drift Helper - Create DDL sql file from module folder (bash) #3122
Blackstareye
started this conversation in
Show and tell
Replies: 1 comment 3 replies
-
Nice, it only captures tables though (you can also declare views, triggers and indexes in drift files). There's also some drift-specific syntax like the one used for type converters that drift needs to desugar. What are you using the exported DDL statements for? We can probably offer a CLI command to export DDL statements from a drift file (Dart-based definitions will be much harder) if there's interest in such a thing. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to share my DDL generator for my drift files :)
gist:https://gist.github.com/Blackstareye/af7f5ca3a8c49949cb420bba5334a78b
Beta Was this translation helpful? Give feedback.
All reactions