Last active
August 29, 2015 14:21
Revisions
-
onproton revised this gist
May 21, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,5 +10,5 @@ CREATE TABLE quote ( author_id INT NOT NULL, date_added TIMESTAMP, FOREIGN KEY (author_id) REFERENCES author(id) ); -
onproton revised this gist
May 21, 2015 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ CREATE TABLE author ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(1000) NOT NULL, date_added TIMESTAMP ); CREATE TABLE quote ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, quotation VARCHAR(1000) NOT NULL, author_id INT NOT NULL, date_added TIMESTAMP, -
onproton revised this gist
May 21, 2015 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,9 +6,9 @@ CREATE TABLE authors ( CREATE TABLE quotes ( id INT NOT NULL auto_increment PRIMARY KEY, quotation VARCHAR(1000) NOT NULL, author_id INT NOT NULL, date_added TIMESTAMP, FOREIGN KEY (author_id) REFERENCES authors(id) ); -
onproton revised this gist
May 21, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ CREATE TABLE authors ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(1000) NOT NULL, date_added TIMESTAMP ); CREATE TABLE quotes ( -
onproton revised this gist
May 21, 2015 . 1 changed file with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ CREATE TABLE authors ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(1000) NOT NULL, date_added TIMESTAMP ); CREATE TABLE quotes ( id INT NOT NULL auto_increment PRIMARY KEY, quotation VARCHAR(1000) NOT NULL, author_id INT NOT NULL, date_added TIMESTAMP, FOREIGN KEY (author_id) REFERENCES authors(id) ); -
onproton revised this gist
May 21, 2015 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ CREATE TABLE authors ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(1000) NOT NULL, date_added TIMESTAMP ); CREATE TABLE quotes ( id INT NOT NULL auto_increment PRIMARY KEY, quotation VARCHAR(1000) NOT NULL, author_id INT NOT NULL, date_added TIMESTAMP, -
onproton revised this gist
May 21, 2015 . 1 changed file with 12 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,14 @@ CREATE TABLE authors ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(1000) NOT NULL, date_added TIMESTAMP ); CREATE TABLE quotes ( id INT NOT NULL auto_increment PRIMARY KEY, quotation VARCHAR(1000) NOT NULL, author_id INT NOT NULL, date_added TIMESTAMP, FOREIGN KEY (author_id) REFERENCES authors(id) ); -
onproton created this gist
May 21, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ CREATE TABLE Quotes ( quote_id int NOT NULL auto_increment PRIMARY KEY, quotation VARCHAR(1000) NOT NULL, author_id int NOT NULL FOREIGN KEY REFERENCES Authors(author_id), reg_date TIMESTAMP /* not sure if needed, but might be useful at some point in the future? */ ) CREATE TABLE Authors ( author_id int NOT NULL PRIMARY KEY, name VARCHAR(1000) NOT NULL, reg_date TIMESTAMP )