mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Switch to smallint for position keys (x,y,z) in postgres backend
This commit is contained in:
@@ -164,9 +164,9 @@ void MapDatabasePostgreSQL::createDatabase()
|
||||
{
|
||||
createTableIfNotExists("blocks",
|
||||
"CREATE TABLE blocks ("
|
||||
"posX INT NOT NULL,"
|
||||
"posY INT NOT NULL,"
|
||||
"posZ INT NOT NULL,"
|
||||
"posX smallint NOT NULL,"
|
||||
"posY smallint NOT NULL,"
|
||||
"posZ smallint NOT NULL,"
|
||||
"data BYTEA,"
|
||||
"PRIMARY KEY (posX,posY,posZ)"
|
||||
");"
|
||||
|
Reference in New Issue
Block a user