Task description
The type column of the wallet table is unused, and in some cases it contains an incorrect value. The column should be dropped. Dropping the column is non-trivial as SQLite does not support this in an alter table command. We may have to upgrade the knex dependency to be able to turn off foreign_key constraint checks during the migration, as it does not seem to be possible to do that while keeping the onCreate method that turns on the check with our current version.
Task description The
type
column of thewallet
table is unused, and in some cases it contains an incorrect value. The column should be dropped. Dropping the column is non-trivial as SQLite does not support this in analter table
command. We may have to upgrade theknex
dependency to be able to turn offforeign_key
constraint checks during the migration, as it does not seem to be possible to do that while keeping theonCreate
method that turns on the check with our current version.