You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
673 B
Go
38 lines
673 B
Go
package dbi
|
|
|
|
activity_report_schema = `
|
|
CREATE TABLE users (
|
|
FirstName text not null,
|
|
LastName text not null,
|
|
Username text not null,
|
|
PRIMARY KEY Username
|
|
);
|
|
CREATE TABLE scholarship (
|
|
UID text PRIMARY KEY,
|
|
Citation text,
|
|
Hyperlink text,
|
|
Created text,
|
|
Modified text,
|
|
Username text REFERENCES users(Username)
|
|
);
|
|
CREATE TABLE activities (
|
|
UID text PRIMARY KEY,
|
|
Title text,
|
|
Description text,
|
|
Hyperlink text,
|
|
Created text,
|
|
Modified text,
|
|
Username text REFERENCES users(Username)
|
|
);
|
|
CREATE TABLE appearances (
|
|
UID text PRIMARY KEY,
|
|
Title text,
|
|
Description text,
|
|
Hyperlink text,
|
|
Created text,
|
|
Modified text,
|
|
Username text REFERENCES users(Username)
|
|
);
|
|
`
|
|
|