Typo
This commit is contained in:
parent
b67bd0ade4
commit
179b581864
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
CREATE TABLE IF NOT EXISTS Respondants (
|
CREATE TABLE IF NOT EXISTS Respondents (
|
||||||
name VARCHAR(255) PRIMARY KEY
|
name VARCHAR(255) PRIMARY KEY
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ CREATE TABLE IF NOT EXISTS Answers (
|
||||||
answerThree INT,
|
answerThree INT,
|
||||||
answerFour INT,
|
answerFour INT,
|
||||||
name VARCHAR(255),
|
name VARCHAR(255),
|
||||||
FOREIGN KEY (name) REFERENCES Respondants(name)
|
FOREIGN KEY (name) REFERENCES Respondents(name)
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT INTO Respondants (name) VALUES ('user1');
|
INSERT INTO Respondants (name) VALUES ('user1');
|
Loading…
Reference in a new issue