[server] Update DB Script

This commit is contained in:
Neeraj Gupta 2024-08-05 16:44:34 +05:30
parent 18d58a9eee
commit 27eb5ecc2b
2 changed files with 5 additions and 2 deletions

View File

@ -4,3 +4,6 @@ DROP INDEX IF EXISTS idx_file_data_user_type_deleted;
DROP TABLE IF EXISTS file_data;
DROP TYPE IF EXISTS file_data_type;
-- Delete triggers
DROP TRIGGER IF EXISTS check_no_common_entries ON file_data;

View File

@ -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,