diff --git a/cookbook/015/hodgepodge/db/dbinit.sql b/cookbook/015/hodgepodge/db/dbinit.sql index fa80f69..1c887e2 100644 --- a/cookbook/015/hodgepodge/db/dbinit.sql +++ b/cookbook/015/hodgepodge/db/dbinit.sql @@ -1,7 +1,12 @@ -DROP TABLE IF EXISTS 'people'; - -CREATE TABLE 'people' ( +CREATE TABLE IF NOT EXISTS 'people' ( 'id' INTEGER PRIMARY KEY ASC AUTOINCREMENT, 'name' VARCHAR(255), 'email' VARCHAR(255) ); + + +CREATE TABLE IF NOT EXISTS 'users' ( + 'id' INTEGER PRIMARY KEY ASC AUTOINCREMENT, + 'username' VARCHAR(255) NOT NULL, + 'password' VARCHAR(40) NOT NULL +);