Last active
August 29, 2015 14:10
-
-
Save munroebot/dc299431ec32b669f45c to your computer and use it in GitHub Desktop.
SQL Help
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 shopidentifyer.event_log ( | |
event_id int NOT NULL PRIMARY KEY AUTO_INCREMENT, | |
badge_id int NOT NULL, | |
created_on TIMESTAMP DEFAULT CURRENT_TIMESTAMP, | |
event_type ENUM('BADGE_SWIPE','MANUAL_SWIPE','ACCESS_ATTEMPT','ACCESS_GRANT','ACCESS_DENY') DEFAULT 'BADGE_SWIPE', | |
event_message varchar(255) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment