summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcflip <36554078+cflip@users.noreply.github.com>2021-03-21 17:29:02 -0600
committercflip <36554078+cflip@users.noreply.github.com>2021-03-21 17:29:02 -0600
commitd0e23fd32cd2c968bdb905604c543b8c1bb8f6ee (patch)
treeb5d8a808c86ef79f7e3b56f8e9ed64baa4693e79
parent2805ef7311eeb028cd48bffe04a705676c4682be (diff)
Remove category add from setup.sql
-rw-r--r--setup.sql2
1 files changed, 0 insertions, 2 deletions
diff --git a/setup.sql b/setup.sql
index 5934e3e..f51250b 100644
--- a/setup.sql
+++ b/setup.sql
@@ -37,5 +37,3 @@ ALTER TABLE threads ADD FOREIGN KEY(thread_cat) REFERENCES categories(cat_id) ON
ALTER TABLE threads ADD FOREIGN KEY(thread_author) REFERENCES users(user_id) ON DELETE RESTRICT ON UPDATE CASCADE;
ALTER TABLE posts ADD FOREIGN KEY(post_thread) REFERENCES threads(thread_id) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE posts ADD FOREIGN KEY(post_author) REFERENCES users(user_id) ON DELETE RESTRICT ON UPDATE CASCADE;
-
-INSERT INTO categories (cat_name, cat_description) VALUES ("General", "Discussion of anything that doesn't fit in the other categories");