I have a syntax error I'm having trouble discerning. Help appreciated!
Schema Creation Failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`i_id` int, PRIMARY KEY (d_id), FOREIGN KEY (i_id) REFERENCES Indicators (i_id' at line 6:
CREATE TABLE Indicators
(
`i_id` int AUTO_INCREMENT,
`i_name` varchar(255),
PRIMARY KEY (i_id)
);
CREATE TABLE Data
(
`d_id` int AUTO_INCREMENT,
`Year` year,
`Datapoint` float(24,2)
`i_id` int,
PRIMARY KEY (d_id),
FOREIGN KEY (i_id) REFERENCES Indicators (i_id)
);