mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-21 20:01:18 +00:00
Fixed wrongly named column
This commit is contained in:
parent
2d4191f03f
commit
0001bc7a12
1 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@ CREATE TABLE IF NOT EXISTS `player` (
|
|||
`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
`guid` TEXT NOT NULL UNIQUE,
|
||||
`ip` TEXT NOT NULL,
|
||||
`level` INTEGER NOT NULL,
|
||||
CONSTRAINT `player_level` FOREIGN KEY (`level`) REFERENCES `level` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
|
||||
`level_id` INTEGER NOT NULL,
|
||||
CONSTRAINT `player_level` FOREIGN KEY (`level_id`) REFERENCES `level` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `alias` (
|
||||
|
@ -197,4 +197,4 @@ INSERT INTO `level_role`(`level_id`, `role`) VALUES (5, 'incognito');
|
|||
INSERT INTO `level_role`(`level_id`, `role`) VALUES (5, 'immune');
|
||||
|
||||
INSERT INTO `player` (`id`, `guid`, `ip`, `level`) VALUES (1, 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', '127.0.0.1', 5);
|
||||
INSERT INTO `alias` (`id`, `player_id`, `alias`, `cleanalias`, `lastused`, `used`) VALUES (1, 1, 'console', 'console', 0, 0);
|
||||
INSERT INTO `alias` (`id`, `player_id`, `alias`, `cleanalias`, `lastused`, `used`) VALUES (1, 1, 'console', 'console', 0, 0);
|
||||
|
|
Loading…
Reference in a new issue