package dbi const ActivityReportSchema = ` CREATE TABLE users ( APIKey text not null, FirstName text not null, LastName text not null, Status text not null CHECK (Status in ('faculty', 'admin')), Username text PRIMARY KEY ); CREATE TABLE scholarship ( UID text PRIMARY KEY, Citation text, Hyperlink text, Status text not null CHECK (Status in ('reported','posted')), Created text, Modified text, Username text REFERENCES users(Username) ); CREATE TABLE activities ( UID text PRIMARY KEY, Title text, Description text, Hyperlink text, Status text not null CHECK (Status in ('reported','posted')), Created text, Modified text, Username text REFERENCES users(Username) ); CREATE TABLE appearances ( UID text PRIMARY KEY, Title text, Description text, Hyperlink text, Status text not null CHECK (Status in ('reported','posted')), Created text, Modified text, Username text REFERENCES users(Username) ); `