mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Switch to smallint for position keys (x,y,z) in postgres backend
This commit is contained in:
parent
7c619bdc9a
commit
6c339c62c6
1 changed files with 3 additions and 3 deletions
|
@ -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)"
|
||||
");"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue