forked from HPR/hpr_generator
Add database creation and test data insert scripts
Use these files to generate a test database. This will also allow for the tracking of schema changes.
This commit is contained in:
8
_sql/Create_Table_Contributors.sql
Normal file
8
_sql/Create_Table_Contributors.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE Contributors (
|
||||
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
handle varchar(255) NOT NULL,
|
||||
email varchar(255) NOT NULL,
|
||||
avatar varchar(255) DEFAULT 'hpr_logo.png' NOT NULL,
|
||||
default_license VARCHAR(25) DEFAULT 'CC BY-SA 4.0' NOT NULL,
|
||||
profile TEXT
|
||||
);
|
Reference in New Issue
Block a user