PRAGMA foreign_keys=OFF;
--BEGIN TRANSACTION;
CREATE TABLE config
(
  ID INTEGER PRIMARY KEY,
  "key" TEXT,
  "value" TEXT
);
CREATE TABLE element_instances_layouts
(
  ID INTEGER PRIMARY KEY,
  element_instance_uuid TEXT,
  is_selected INTEGER,
  layout_x BIGINT,
  layout_y BIGINT
);
CREATE TABLE element_layouts (ID INTEGER PRIMARY KEY AUTOINCREMENT, element_key BIGINT, is_selected INTEGER, layout_x BIGINT, layout_y BIGINT, picture TEXT);
CREATE TABLE fog_layouts (ID INTEGER PRIMARY KEY AUTOINCREMENT, instance_id TEXT, is_selected INTEGER, layout_x BIGINT, layout_y BIGINT);
INSERT INTO config (key, value) VALUES ('port', '54521');
--COMMIT;
