add schema
parent
28740970b9
commit
aa1908864b
@ -0,0 +1,37 @@
|
||||
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)
|
||||
);
|
||||
`
|
||||
|
||||
Loading…
Reference in New Issue