Is there a library in go that will generate migrations for me? I have a directory…
- User
Is there a library in go that will generate migrations for me?
I have a directory containing my sql DDL files. Let's name this directory
schemaI have a directory of migrationsthis tool would
- understand the current state of the migrations
- be able to read the sql files in my directory
schema - calculate the difference between migrations and files in
schema - generate a migration including the sql statement needed to alter, create or drop tables.
In python,
alembicdoes something like this. I'm looking for something similar just in go. - Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.