hpr_generator/_sql/Create_Table_Contributors.sql
Roan Horning 3bab143697
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.
2022-06-29 00:45:27 -04:00

9 lines
272 B
SQL

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