First release
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP TABLE jrcells;
|
||||
@@ -0,0 +1 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE jrcells (
|
||||
id INTEGER AUTO_INCREMENT NOT NULL,
|
||||
PRIMARY KEY(id),
|
||||
cell_value VARCHAR(2048) NOT NULL,
|
||||
jrentry_id INTEGER NOT NULL,
|
||||
FOREIGN KEY (jrentry_id) REFERENCES jrentries(id)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE,
|
||||
jrcolumn_id INTEGER NOT NULL,
|
||||
FOREIGN KEY (jrcolumn_id) REFERENCES jrcolumns(id)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
-- Your SQL goes here
|
||||
Reference in New Issue
Block a user