PRIMARY KEY, thanks SQLite for being a FUCKING DICKBAG
This commit is contained in:
parent
560a9226b7
commit
77ed57a4bd
6 changed files with 7 additions and 7 deletions
|
|
@ -21,7 +21,7 @@ namespace TShockAPI.DB
|
|||
{
|
||||
if (TShock.Config.StorageType.ToLower() == "sqlite")
|
||||
com.CommandText =
|
||||
"CREATE TABLE IF NOT EXISTS 'GroupList' ('GroupName' TEXT PRIMARY, 'Commands' TEXT, 'OrderBy' TEXT);";
|
||||
"CREATE TABLE IF NOT EXISTS 'GroupList' ('GroupName' TEXT PRIMARY KEY, 'Commands' TEXT, 'OrderBy' TEXT);";
|
||||
else if (TShock.Config.StorageType.ToLower() == "mysql")
|
||||
com.CommandText =
|
||||
"CREATE TABLE IF NOT EXISTS GroupList (GroupName VARCHAR(255) PRIMARY, Commands VARCHAR(255), OrderBy VARCHAR(255));";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue