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;
	  
