Dropping columns in sqlite
Hello, I am using better sqlite3. In order to drop a column on a table I need create a new table, copy data from an old table and drop the old table because sqlite does not support dropping columns. The sql generate by the generate command does not produce this. It's just an ALTER TABLE command. If I write my own sql to do the above work around how can I add it to the migrations folder so it will be tracked like a regular migration created by the generate command?
0 Replies