forked from Cavemanon/cavepaintings
PostgreSQL does not support INDEX() inside the CREATE TABLE method. You must create the index as a separate query. Fortunately MySQL also support this way of doing things as well.
This commit is contained in:
@@ -18,7 +18,6 @@ class Tips extends Extension {
|
||||
enable SCORE_BOOL NOT NULL DEFAULT SCORE_BOOL_N,
|
||||
image TEXT NOT NULL,
|
||||
text TEXT NOT NULL,
|
||||
INDEX (id)
|
||||
");
|
||||
|
||||
$database->execute("
|
||||
|
Reference in New Issue
Block a user