box-o-sand/RubyFun/cookbook/015/hodgepodge/db/dbinit.sql
Dan Buch 0a9428093c Add 'RubyFun/' from commit 'b01c6826131196ba58b5288a3182f2526c89c249'
git-subtree-dir: RubyFun
git-subtree-mainline: a04a502787
git-subtree-split: b01c682613
2013-01-09 23:50:14 -05:00

15 lines
343 B
SQL

DROP TABLE IF EXISTS 'people';
CREATE TABLE 'people' (
'id' INTEGER PRIMARY KEY ASC AUTOINCREMENT,
'name' VARCHAR(255),
'email' VARCHAR(255)
);
DROP TABLE IF EXISTS 'users';
CREATE TABLE 'users' (
'id' INTEGER PRIMARY KEY ASC AUTOINCREMENT,
'username' VARCHAR(255) NOT NULL,
'hashed_password' VARCHAR(40) NOT NULL
);