From b4f57e357226b4cf5f62fc6a514eb6bc1f80218e Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Mon, 19 Feb 2024 21:44:24 -0500 Subject: [PATCH] Add order to the tables. --- server/sql/{users.sql => 01-users.sql} | 0 server/sql/{images.sql => 02-images.sql} | 0 server/sql/{channels.sql => 03-channels.sql} | 0 server/sql/{episodes.sql => 04-episodes.sql} | 0 server/sql/drop_tables.sql | 3 +++ 5 files changed, 3 insertions(+) rename server/sql/{users.sql => 01-users.sql} (100%) rename server/sql/{images.sql => 02-images.sql} (100%) rename server/sql/{channels.sql => 03-channels.sql} (100%) rename server/sql/{episodes.sql => 04-episodes.sql} (100%) diff --git a/server/sql/users.sql b/server/sql/01-users.sql similarity index 100% rename from server/sql/users.sql rename to server/sql/01-users.sql diff --git a/server/sql/images.sql b/server/sql/02-images.sql similarity index 100% rename from server/sql/images.sql rename to server/sql/02-images.sql diff --git a/server/sql/channels.sql b/server/sql/03-channels.sql similarity index 100% rename from server/sql/channels.sql rename to server/sql/03-channels.sql diff --git a/server/sql/episodes.sql b/server/sql/04-episodes.sql similarity index 100% rename from server/sql/episodes.sql rename to server/sql/04-episodes.sql diff --git a/server/sql/drop_tables.sql b/server/sql/drop_tables.sql index c99ddcd..ba9a5bd 100644 --- a/server/sql/drop_tables.sql +++ b/server/sql/drop_tables.sql @@ -1 +1,4 @@ +-- @TODO Get add the FK cascade operations to the tables +-- so I can have a solid plan for deleting data DROP TABLE IF EXISTS users; +