Created
September 2, 2016 17:30
-
-
Save gabidavila/7e9ab73c7883c5f110036bd47e907b36 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 `blog`.`users` ( | |
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, | |
`name` VARCHAR(45) NOT NULL, | |
`email` VARCHAR(255) NOT NULL, | |
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | |
`updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | |
PRIMARY KEY (`id`)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment