Skip to content

Instantly share code, notes, and snippets.

@dan81989
Created May 20, 2016 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dan81989/293add589708521d0faef0d3c3e78a1e to your computer and use it in GitHub Desktop.
Save dan81989/293add589708521d0faef0d3c3e78a1e to your computer and use it in GitHub Desktop.
CREATE TABLE "contributors" (
"id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
"last_name" VARCHAR,
"first_name" VARCHAR,
"middle_name" VARCHAR,
"street_1" VARCHAR,
"street_2" VARCHAR,
"city" VARCHAR,
"state" VARCHAR,
"zip" VARCHAR,
"amount" INTEGER,
"date" DATETIME,
"candidate_id" INTEGER NOT NULL,
FOREIGN KEY(candidate_id) REFERENCES candidates(id)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment