Addition of collection system.

Contributed by iDesy.
This commit is contained in:
MobiusDevelopment
2021-05-19 10:20:55 +00:00
parent bf6eb75074
commit 4e3762f353
54 changed files with 4924 additions and 15 deletions

View File

@@ -0,0 +1,6 @@
DROP TABLE IF EXISTS `collection_favorites`;
CREATE TABLE IF NOT EXISTS `collection_favorites` (
`accountName` VARCHAR(45) NOT NULL DEFAULT '',
`collectionId` int(3) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`accountName`,`collectionId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

View File

@@ -0,0 +1,8 @@
DROP TABLE IF EXISTS `collections`;
CREATE TABLE IF NOT EXISTS `collections` (
`accountName` VARCHAR(45) NOT NULL DEFAULT '',
`itemId` int(11) UNSIGNED NOT NULL DEFAULT 0,
`collectionId` int(3) UNSIGNED NOT NULL DEFAULT 0,
`index` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`accountName`,`collectionId`,`index`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;