Initial Entity stuff commit...
This commit is contained in:
parent
fb7a98e823
commit
380153ec39
3 changed files with 54 additions and 16 deletions
|
|
@ -1,9 +1,11 @@
|
|||
DROP TABLE IF EXISTS users;
|
||||
DROP TABLE IF EXISTS entities;
|
||||
|
||||
PRAGMA foreign_keys = ON;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
id INTEGER PRIMARY KEY,
|
||||
name VARCHAR(64)
|
||||
name VARCHAR(64) UNIQUE
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS entities (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue