Whenever I run drizzle-kit generate:sqlite and it tries to do something not supported, a message similar to the following is added to the migration file:
/*
SQLite does not support "Drop not null from column" out of the box, we do not generate automatic migration for that, so it has to be done manually
Please refer to: https://www.techonthenet.com/sqlite/tables/alter_table.php
https://www.sqlite.org/lang_altertable.html
https://stackoverflow.com/questions/2083543/modify-a-columns-type-in-sqlite3
Due to that we don't generate migration automatically and it has to be done manually
*/
There is no relevant information whatsoever in that message that indicates which field of which table is affected by this change.
Adding that information is critical to allow the developer to add the right migration SQL code.
Describe what you want
Hi,
Whenever I run
drizzle-kit generate:sqlite
and it tries to do something not supported, a message similar to the following is added to the migration file:There is no relevant information whatsoever in that message that indicates which field of which table is affected by this change.
Adding that information is critical to allow the developer to add the right migration SQL code.
Thanks!