Skip to content

Commit

Permalink
fix: schema
Browse files Browse the repository at this point in the history
  • Loading branch information
phacUFPE committed Aug 18, 2024
1 parent 36d0a42 commit 8be898c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data-otservbr-global/migrations/46.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function onUpdateDatabase()
`port` int(5) UNSIGNED NOT NULL,
PRIMARY KEY (`id`),
CONSTRAINT `worlds_unique` UNIQUE (`name`)
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
]])

db.query("ALTER TABLE `server_config` DROP PRIMARY KEY server_config_pk;")
Expand Down
2 changes: 1 addition & 1 deletion schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ CREATE TABLE IF NOT EXISTS `worlds` (
`port` int(5) UNSIGNED NOT NULL,
PRIMARY KEY (`id`),
CONSTRAINT `worlds_unique` UNIQUE (`name`)
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Create Account god/god
INSERT INTO `accounts`
Expand Down

0 comments on commit 8be898c

Please sign in to comment.