CREATE TABLE jrcolumns (
       id INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY,
       name VARCHAR(255) NOT NULL,
       jrtable_id INTEGER NOT NULL,
       FOREIGN KEY jrtable(jrtable_id) REFERENCES jrtables(id)
       ON DELETE CASCADE
       ON UPDATE CASCADE,
       id_in_table INTEGER NOT NULL
);
