· 9 years ago · Oct 28, 2016, 01:42 AM
1CREATE TABLE IF NOT EXISTS skins (
2 user varchar(32) NOT NULL,
3 texture int NOT NULL,
4 type varchar(10) NOT NULL CHECK (type IN ('SKIN', 'ELYTRA', 'CAPE')),
5 timestamp datetime NOT NULL,
6 FOREIGN KEY (texture) REFERENCES textures(texture)
7) was aborted: ERROR: syntax error at or near "user"