Add light and dark logo files for frameworks
Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
17
pkg/coredata/migrations/20251216T104900Z.sql
Normal file
17
pkg/coredata/migrations/20251216T104900Z.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
ALTER TABLE
|
||||
frameworks
|
||||
ADD
|
||||
COLUMN light_logo_file_id TEXT,
|
||||
ADD
|
||||
COLUMN dark_logo_file_id TEXT;
|
||||
|
||||
ALTER TABLE
|
||||
frameworks
|
||||
ADD
|
||||
CONSTRAINT frameworks_light_logo_file_id_fkey FOREIGN KEY (light_logo_file_id) REFERENCES files(id) ON DELETE
|
||||
SET
|
||||
NULL,
|
||||
ADD
|
||||
CONSTRAINT frameworks_dark_logo_file_id_fkey FOREIGN KEY (dark_logo_file_id) REFERENCES files(id) ON DELETE
|
||||
SET
|
||||
NULL;
|
||||
Reference in New Issue
Block a user