Skip to content

Instantly share code, notes, and snippets.

Created July 21, 2016 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6e76a6e046e739dff5564967121a8c7f to your computer and use it in GitHub Desktop.
Save anonymous/6e76a6e046e739dff5564967121a8c7f to your computer and use it in GitHub Desktop.
the description for this gist
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