* refactor: move migrations to new structure * refactor: convert all findMany to new structure * fix(backups-schedule): missing null matching for last backup status * chore: move root lib to server
5 lines
504 B
SQL
5 lines
504 B
SQL
DROP INDEX `volumes_table_name_unique`;--> statement-breakpoint
|
|
ALTER TABLE `volumes_table` ADD `organization_id` text REFERENCES organization(id);--> statement-breakpoint
|
|
ALTER TABLE `backup_schedules_table` ADD `organization_id` text REFERENCES organization(id);--> statement-breakpoint
|
|
ALTER TABLE `notification_destinations_table` ADD `organization_id` text REFERENCES organization(id);--> statement-breakpoint
|
|
ALTER TABLE `repositories_table` ADD `organization_id` text REFERENCES organization(id);
|