DB/FSB: add initial sql files
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
|
||||
build*/
|
||||
.directory
|
||||
.mailmap
|
||||
*.orig
|
||||
*.rej
|
||||
*~
|
||||
.hg/
|
||||
*.kdev*
|
||||
.DS_Store
|
||||
CMakeLists.txt.user
|
||||
*.bak
|
||||
*.patch
|
||||
*.diff
|
||||
*.REMOTE.*
|
||||
*.BACKUP.*
|
||||
*.BASE.*
|
||||
*.LOCAL.*
|
||||
nbproject/*
|
||||
.idea/*
|
||||
.browse.VC*
|
||||
.vscode
|
||||
cmake-build-*/
|
||||
.vs
|
||||
@@ -0,0 +1,12 @@
|
||||
-- FSB Tables
|
||||
|
||||
DROP TABLE if exists followship_bot_owners;
|
||||
CREATE TABLE followship_bot_owners (
|
||||
bot_id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
|
||||
bot_guid BIGINT UNSIGNED NOT NULL, -- spawnId
|
||||
bot_entry INT UNSIGNED NOT NULL,
|
||||
player_guid BIGINT UNSIGNED NOT NULL,
|
||||
hire_expiry_time BIGINT UNSIGNED NOT NULL,
|
||||
|
||||
UNIQUE KEY uq_bot_player (bot_guid, player_guid)
|
||||
);
|
||||
Reference in New Issue
Block a user