A continuation of HomeBox the inventory and organization system built for the Home User
Fix notifiers gettings wiped
Matthew Kilgore473027c1aea3
diff --git a/backend/internal/data/migrations/sqlite3/20250907000000_make_password_nullable.sql b/backend/internal/data/migrations/sqlite3/20250907000000_make_password_nullable.sqlindex 626daf6a..862a5e50 100644--- a/backend/internal/data/migrations/sqlite3/20250907000000_make_password_nullable.sql+++ b/backend/internal/data/migrations/sqlite3/20250907000000_make_password_nullable.sql@@ -1,4 +1,6 @@-- +goose Up+-- +goose no transaction+PRAGMA foreign_keys=OFF;-- SQLite doesn't support ALTER COLUMN directly, so we need to recreate the table-- Create a temporary table with the new schemaCREATE TABLE users_temp (@@ -29,4 +31,5 @@ DROP TABLE users;ALTER TABLE users_temp RENAME TO users;-- Recreate the unique index-CREATE UNIQUE INDEX users_email_key on users (email);\ No newline at end of file+CREATE UNIQUE INDEX users_email_key on users (email);+PRAGMA foreign_keys=ON;