1
0
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:
2022-06-29 00:45:27 -04:00
parent e31c4a2208
commit 3bab143697
5 changed files with 58 additions and 0 deletions

View 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
);