pandaria_5.4.8/sql/base/archive.sql
2021-12-28 12:17:51 +03:00

51 lines
1.7 KiB
SQL

/*
SQLyog Ultimate v13.1.1 (64 bit)
MySQL - 10.5.8-MariaDB : Database - ofi_archive
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
/*Table structure for table `currency_transactions` */
DROP TABLE IF EXISTS `currency_transactions`;
CREATE TABLE `currency_transactions` (
`realmid` tinyint(3) unsigned NOT NULL DEFAULT 1,
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`guid` int(10) unsigned NOT NULL,
`unix_time` int(10) unsigned NOT NULL,
`operation` enum('LOOT_MOB','LOOT_ITEM','MAIL','QUEST_REWARD','TRADE','SELL_ITEM','GUILD_BANK','AUCTION','TRANSMOGRIFICATION') NOT NULL,
`param` int(10) unsigned DEFAULT NULL,
`attachments` text NOT NULL,
`amount_before` int(10) unsigned DEFAULT NULL,
`amount_after` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_guid` (`guid`),
KEY `idx_operation` (`operation`),
KEY `idx_unix_time` (`unix_time`),
KEY `idx_param` (`param`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `currency_transactions` */
/*Table structure for table `x` */
DROP TABLE IF EXISTS `x`;
CREATE TABLE `x` (
`asd` smallint(6) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `x` */
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;