· 8 years ago · Jan 10, 2018, 03:56 PM
1ERROR 1064 (42000) at line 635: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ServerId` int(10) unsigned,
2 PRIMARY KEY (`Id`)
3) ENGINE=InnoDB;
4
5--
6-- Create a' at line 7
7
8
9DROP TABLE IF EXISTS `Storage`;
10CREATE TABLE `Storage` (
11 `Id` smallint(5) unsigned NOT NULL auto_increment,
12 `Path` varchar(64) NOT NULL default '',
13 `Name` varchar(64) NOT NULL default '',
14 `Type` enum('local','s3fs') NOT NULL default 'local',
15 `DiskSpace` bigint unsigned default NULL,
16 `Scheme enum('Deep','Medium','Shallow') NOT NULL default 'Medium',
17 `ServerId` int(10) unsigned,
18 PRIMARY KEY (`Id`)
19) ENGINE=InnoDB;