-
-
Save tanepiper/bea5d75754cf5f05a57b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS `Locations` (`id` INT NOT NULL auto_increment PRIMARY KEY, `name` VARCHAR(255), `narrative` TEXT, `priority` INT, `type` VARCHAR(255), `group` VARCHAR(255), `address` TEXT, `postcode` VARCHAR(255), `time_to_recover` VARCHAR(255), `createdAt` DATETIME, `updatedAt` DATETIME) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS Locations (id INT NOT NULL auto_increment PRIMARY KEY, name VARCHAR(255), narrative TEXT, priority INT, type VARCHAR(255), group VARCHAR(255), address TEXT, postcode VARCHAR(255), time_to_recover VARCHAR(255), createdAt DATETIME, updatedAt DATETIME) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT `foo`, `bar`, `group` FROM `table` WHERE `id` = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment