mirror of
https://github.com/ente-io/ente.git
synced 2025-08-07 23:18:10 +00:00
[server] Update DB Script
This commit is contained in:
parent
18d58a9eee
commit
27eb5ecc2b
@ -3,4 +3,7 @@ DROP INDEX IF EXISTS idx_file_data_user_type_deleted;
|
||||
|
||||
DROP TABLE IF EXISTS file_data;
|
||||
|
||||
DROP TYPE IF EXISTS file_data_type;
|
||||
DROP TYPE IF EXISTS file_data_type;
|
||||
|
||||
-- Delete triggers
|
||||
DROP TRIGGER IF EXISTS check_no_common_entries ON file_data;
|
@ -1,5 +1,5 @@
|
||||
-- Create the derived table
|
||||
CREATE TABLE file_data
|
||||
CREATE TABLE IF NOT EXISTS file_data
|
||||
(
|
||||
file_id BIGINT NOT NULL,
|
||||
user_id BIGINT NOT NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user