First release

This commit is contained in:
Johannes Randerath
2024-08-27 18:25:04 +02:00
parent 218c7e8f40
commit c06ddc9498
125 changed files with 12726 additions and 244 deletions

View File

@@ -0,0 +1,5 @@
SET FOREIGN_KEY_CHECKS=0;
UPDATE TABLE jrtables
DROP COLUMN owner_id
DROP COLUMN fk_owner_id;
SET FOREIGN_KEY_CHECKS=1;

View File

@@ -0,0 +1 @@
-- This file should undo anything in `up.sql`

View File

@@ -0,0 +1,10 @@
SET FOREIGN_KEY_CHECKS=0;
ALTER TABLE jrtables
ADD owner_id INTEGER NOT NULL;
ALTER TABLE jrtables
ADD CONSTRAINT fk_owner_id
FOREIGN KEY (owner_id) REFERENCES users(id)
ON DELETE CASCADE
ON UPDATE CASCADE;
SET FOREIGN_KEY_CHECKS=1;

View File

@@ -0,0 +1 @@
-- Your SQL goes here