{ "id" : "CAMP", "name" : { "default" : "Camp", "CZ" : "Kemp" }, "descriptoin" : { "default" : "", "CZ" : "" }, "schemaVersion" : 1, "sql" : [ "CREATE TABLE \"CampData\" ( \"id\" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, \"start\" TEXT NULL, \"end\" TEXT NULL, \"ownerFirstame\" TEXT NULL, \"ownerLastname\" TEXT NULL, \"ownerAddress\" TEXT NULL, \"totalPrice\" INTEGER NOT NULL, \"season\" INTEGER NULL, CONSTRAINT \"season_fk\" FOREIGN KEY (\"season\") REFERENCES \"Season\" (\"id\") DEFERRABLE INITIALLY DEFERRED); CREATE TABLE \"AddressItem\" ( \"id\" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, \"firstName\" TEXT NULL, \"lastName\" TEXT NULL, \"address\" TEXT NULL, \"price\" INTEGER NOT NULL, \"campData\" INTEGER NOT NULL, CONSTRAINT \"campData_fk\" FOREIGN KEY (\"campData\") REFERENCES \"CampData\" (\"id\") DEFERRABLE INITIALLY DEFERRED); CREATE TABLE \"ServiceItem\" ( \"id\" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, \"name\" TEXT NULL, \"code\" TEXT NULL, \"price\" INTEGER NOT NULL, \"salePossible\" INTEGER NOT NULL, \"type\" INTEGER NOT NULL, \"campData\" INTEGER NOT NULL, CONSTRAINT \"campData_fk\" FOREIGN KEY (\"campData\") REFERENCES \"CampData\" (\"id\") DEFERRABLE INITIALLY DEFERRED); " ], "dependencies" : [ "ADDRESSBOOK", "SHOP", "SERVICES" ], "translations" : { "CZ" : { "name" : "Název", "shortName" : "Zobrazit na účtence", "code" : "Kód", "type" : "Druh", "price" : "Cena", "vat" : "DPH", "count" : "Počet" } } }