Skip to content

Commit

Permalink
Merge pull request #1687 from Tildryn/patch-1
Browse files Browse the repository at this point in the history
Update inc_array.nss to remove PRIMARY KEY status of index
  • Loading branch information
Daztek authored Jul 25, 2023
2 parents 99d8377 + c79e45f commit 92e3b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compatibility/inc_array.nss
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ string GetTableName(string tag, object obj=OBJECT_INVALID, int bare=FALSE) {
string GetTableCreateString(string tag, object obj=OBJECT_INVALID) {
// for simplicity sake, everything is turned into a string. Possible enhancement
// to create specific tables for int/float/whatever.
return "CREATE TABLE IF NOT EXISTS " + GetTableName(tag, obj) + " ( ind INTEGER PRIMARY KEY, value TEXT )";
return "CREATE TABLE IF NOT EXISTS " + GetTableName(tag, obj) + " ( ind INTEGER, value TEXT )";
}

int TableExists(string tag, object obj=OBJECT_INVALID) {
Expand Down

0 comments on commit 92e3b7a

Please sign in to comment.