Skip to content

Instantly share code, notes, and snippets.

@dkobia
Created February 9, 2011 18:05
Show Gist options
  • Save dkobia/818916 to your computer and use it in GitHub Desktop.
Save dkobia/818916 to your computer and use it in GitHub Desktop.
CREATE TABLE IF NOT EXISTS `checkin`
(
`id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
`user_Id` INT UNSIGNED NOT NULL,
`location_id` BIGINT UNSIGNED NOT NULL,
`checkin_description` VARCHAR(255),
`checkin_date` DATETIME NOT NULL,
`checkin_auto` ENUM('0','1') DEFAULT '0',
PRIMARY KEY (`id`)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment