Skip to content

Instantly share code, notes, and snippets.

@jennielees
Created May 26, 2015 23:06
Show Gist options
  • Save jennielees/40de2da674c4bc9cfbe8 to your computer and use it in GitHub Desktop.
Save jennielees/40de2da674c4bc9cfbe8 to your computer and use it in GitHub Desktop.
Users schema
CREATE TABLE users (
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
username CHAR(50) NOT NULL,
email CHAR(250) NOT NULL,
password CHAR(20) NOT NULL,
name CHAR(250) NOT NULL,
avatar CHAR(250) NOT NULL
);
@jennielees
Copy link
Author

Reminder, to use this:

sqlite3 users.db < users.sql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment