Initial support for web service for newer clients (#5731)

Co-authored-by: Jittapan Pluemsumran <secret@rathena.org>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
Vincent Stumpf
2022-08-16 06:10:18 -07:00
committed by GitHub
parent 5d105b5736
commit 0ac52d0bb4
65 changed files with 11127 additions and 122 deletions

50
sql-files/web.sql Normal file
View File

@@ -0,0 +1,50 @@
--
-- Table structure for table `guild_emblems`
--
CREATE TABLE IF NOT EXISTS `guild_emblems` (
`world_name` varchar(32) NOT NULL,
`guild_id` int(11) unsigned NOT NULL,
`file_type` varchar(255) NOT NULL,
`file_data` blob,
`version` int(11) unsigned NOT NULL default '0',
PRIMARY KEY (`world_name`, `guild_id`)
) ENGINE=MyISAM;
--
-- Table structure for table `user_configs`
--
CREATE TABLE IF NOT EXISTS `user_configs` (
`world_name` varchar(32) NOT NULL,
`account_id` int(11) unsigned NOT NULL,
`data` longtext NOT NULL,
PRIMARY KEY (`world_name`, `account_id`)
) ENGINE=MyISAM;
--
-- Table structure for table `char_configs`
--
CREATE TABLE IF NOT EXISTS `char_configs` (
`world_name` varchar(32) NOT NULL,
`account_id` int(11) unsigned NOT NULL,
`char_id` int(11) unsigned NOT NULL,
`data` longtext NOT NULL,
PRIMARY KEY (`world_name`, `account_id`, `char_id`)
) ENGINE=MyISAM;
--
-- Table structure for table `merchant_configs`
--
CREATE TABLE IF NOT EXISTS `merchant_configs` (
`world_name` varchar(32) NOT NULL,
`account_id` int(11) unsigned NOT NULL,
`char_id` INT(11) UNSIGNED NOT NULL,
`store_type` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
`data` longtext NOT NULL,
PRIMARY KEY (`world_name`, `account_id`, `char_id`)
) ENGINE=MyISAM;