Created
July 21, 2016 06:37
-
-
Save anonymous/6e76a6e046e739dff5564967121a8c7f to your computer and use it in GitHub Desktop.
the description for this gist
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 users ( | |
id INT PRIMARY KEY AUTO_INCREMENT, | |
name VARCHAR(255) NOT NULL, | |
is_active BOOLEAN NOT NULL | |
); | |
CREATE TABLE devices ( | |
id INT PRIMARY KEY AUTO_INCREMENT, | |
name VARCHAR(255) NOT NULL, | |
user_id INT NOT NULL | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment