sfcnr/gamemodes/irresistible/cnr/vip/player_market.pwn
2018-09-28 02:52:38 +10:00

39 lines
745 B
Plaintext

/*
* Irresistible Gaming (c) 2018
* Developed by Lorenc Pekaj
* Module:
* Purpose:
*/
/* ** Includes ** */
#include < YSI\y_hooks >
/* ** Definitions ** */
/* ** Variables ** */
/* ** Hooks ** */
/* ** Functions ** */
/* ** Migrations ** */
/*
CREATE TABLE IF NOT EXISTS IC_SELL_ORDERS (
USER_ID int(11) PRIMARY KEY,
ASK_PRICE int(11),
TOTAL_IC float,
LISTING_DATE TIMESTAMP default CURRENT_TIMESTAMP,
UNIQUE (USER_ID),
FOREIGN KEY (USER_ID) REFERENCES USERS (ID) ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS IC_MARKET_LOG (
`ID` int(11) AUTO_INCREMENT PRIMARY KEY,
`SELLER_ID` int(11),
`BUYER_ID` int(11),
`ASK_RATE` int(11),
`IC_AMOUNT` float,
`DATE` TIMESTAMP default CURRENT_TIMESTAMP
);
*/