Advertisement
Guest User

Untitled

a guest
Sep 18th, 2014
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.27 KB | None | 0 0
  1. /*
  2. MySQL Data Transfer
  3. Source Host: localhost
  4. Source Database: structure
  5. Target Host: localhost
  6. Target Database: structure
  7. Date: 18/09/2014 09:35:51
  8. */
  9.  
  10. SET FOREIGN_KEY_CHECKS=0;
  11. -- ----------------------------
  12. -- Table structure for accounts
  13. -- ----------------------------
  14. DROP TABLE IF EXISTS `accounts`;
  15. CREATE TABLE `accounts` (
  16. `id` int(11) NOT NULL AUTO_INCREMENT,
  17. `username` text,
  18. `password` text,
  19. `registerdate` datetime DEFAULT NULL,
  20. `lastlogin` datetime DEFAULT NULL,
  21. `ip` text,
  22. `supervisor` tinyint(3) DEFAULT '0',
  23. `hiddensupervisor` tinyint(3) unsigned DEFAULT '0',
  24. `supervisorduty` tinyint(3) unsigned DEFAULT '0',
  25. `supervisorjail` tinyint(3) unsigned DEFAULT '0',
  26. `supervisorjail_time` int(11) DEFAULT NULL,
  27. `supervisorjail_by` text,
  28. `supervisorjail_reason` text,
  29. `banned` tinyint(3) unsigned DEFAULT '0',
  30. `banned_by` text,
  31. `banned_reason` text,
  32. `muted` tinyint(3) unsigned DEFAULT '0',
  33. `globalooc` tinyint(3) unsigned DEFAULT '1',
  34. `country` text,
  35. `friendsmessage` text,
  36. `supervisorjail_permanent` tinyint(3) unsigned DEFAULT '0',
  37. `supervisorreports` int(11) DEFAULT '0',
  38. `warns` tinyint(3) unsigned DEFAULT '0',
  39. `chatbubbles` tinyint(3) unsigned NOT NULL DEFAULT '1',
  40. `supervisornote` text,
  41. `appstate` tinyint(1) DEFAULT '0',
  42. `appdatetime` datetime DEFAULT NULL,
  43. `appreason` longtext,
  44. `email` text,
  45. `help` int(1) NOT NULL DEFAULT '1',
  46. `adblocked` int(1) NOT NULL DEFAULT '0',
  47. `newsblocked` int(1) NOT NULL DEFAULT '0',
  48. `mtaserial` text,
  49. `d_addiction` text,
  50. `loginhash` varchar(64) DEFAULT NULL,
  51. `credits` int(11) DEFAULT '0',
  52. `transfers` int(11) DEFAULT '0',
  53. `monitored` varchar(255) NOT NULL DEFAULT 'New Player',
  54. UNIQUE KEY `id` (`id`)
  55. ) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=latin1;
  56.  
  57. -- ----------------------------
  58. -- Table structure for advertisements
  59. -- ----------------------------
  60. DROP TABLE IF EXISTS `advertisements`;
  61. CREATE TABLE `advertisements` (
  62. `id` int(11) NOT NULL AUTO_INCREMENT,
  63. `phone` varchar(10) NOT NULL,
  64. `name` varchar(50) NOT NULL,
  65. `address` varchar(100) NOT NULL,
  66. `advertisement` varchar(200) NOT NULL,
  67. `start` int(11) NOT NULL,
  68. `expiry` int(11) NOT NULL,
  69. `created_by` int(11) NOT NULL,
  70. `section` int(11) NOT NULL,
  71. PRIMARY KEY (`id`)
  72. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  73.  
  74. -- ----------------------------
  75. -- Table structure for applications
  76. -- ----------------------------
  77. DROP TABLE IF EXISTS `applications`;
  78. CREATE TABLE `applications` (
  79. `id` int(11) NOT NULL AUTO_INCREMENT,
  80. `accountID` int(11) NOT NULL,
  81. `dateposted` datetime NOT NULL,
  82. `content` text NOT NULL,
  83. `datereviewed` datetime DEFAULT NULL,
  84. `adminID` int(11) DEFAULT NULL,
  85. `adminNote` text,
  86. `adminAction` int(11) NOT NULL DEFAULT '1',
  87. PRIMARY KEY (`id`)
  88. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  89.  
  90. -- ----------------------------
  91. -- Table structure for atms
  92. -- ----------------------------
  93. DROP TABLE IF EXISTS `atms`;
  94. CREATE TABLE `atms` (
  95. `id` int(11) NOT NULL AUTO_INCREMENT,
  96. `x` decimal(10,6) DEFAULT '0.000000',
  97. `y` decimal(10,6) DEFAULT '0.000000',
  98. `z` decimal(10,6) DEFAULT '0.000000',
  99. `rotation` decimal(10,6) DEFAULT '0.000000',
  100. `dimension` int(5) DEFAULT '0',
  101. `interior` int(5) DEFAULT '0',
  102. `deposit` tinyint(3) unsigned DEFAULT '0',
  103. `limit` int(10) unsigned DEFAULT '5000',
  104. UNIQUE KEY `id` (`id`)
  105. ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;
  106.  
  107. -- ----------------------------
  108. -- Table structure for cannabis_plants
  109. -- ----------------------------
  110. DROP TABLE IF EXISTS `cannabis_plants`;
  111. CREATE TABLE `cannabis_plants` (
  112. `id` int(11) NOT NULL AUTO_INCREMENT,
  113. `position` text,
  114. `rotation` int(11) DEFAULT NULL,
  115. `interior` int(11) DEFAULT NULL,
  116. `dimension` int(11) DEFAULT NULL,
  117. `state` int(11) DEFAULT '0',
  118. `hours` int(11) DEFAULT '0',
  119. `harvest` int(11) DEFAULT '0',
  120. `creator` text,
  121. PRIMARY KEY (`id`)
  122. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  123.  
  124. -- ----------------------------
  125. -- Table structure for characters
  126. -- ----------------------------
  127. DROP TABLE IF EXISTS `characters`;
  128. CREATE TABLE `characters` (
  129. `id` int(11) NOT NULL AUTO_INCREMENT,
  130. `charactername` text,
  131. `account` int(11) DEFAULT '0',
  132. `x` float DEFAULT '823.579',
  133. `y` float DEFAULT '-1341.3',
  134. `z` float DEFAULT '13.5164',
  135. `rotation` float DEFAULT '90',
  136. `interior_id` int(5) DEFAULT '0',
  137. `dimension_id` int(5) DEFAULT '0',
  138. `health` float DEFAULT '100',
  139. `armor` float DEFAULT '0',
  140. `skin` int(3) DEFAULT '264',
  141. `money` bigint(20) DEFAULT '250',
  142. `gender` int(1) DEFAULT '0',
  143. `cuffed` int(11) DEFAULT '0',
  144. `duty` int(3) DEFAULT '0',
  145. `cellnumber` int(30) DEFAULT '0',
  146. `fightstyle` int(2) DEFAULT '4',
  147. `pdjail` int(1) DEFAULT '0',
  148. `pdjail_time` int(11) DEFAULT '0',
  149. `job` int(3) DEFAULT '0',
  150. `cked` int(1) DEFAULT '0',
  151. `lastarea` text,
  152. `age` int(3) DEFAULT '18',
  153. `faction_id` int(11) DEFAULT '-1',
  154. `faction_rank` int(2) DEFAULT '1',
  155. `faction_perks` text,
  156. `skincolor` int(1) DEFAULT '0',
  157. `weight` int(3) DEFAULT '180',
  158. `height` int(3) DEFAULT '180',
  159. `description` text,
  160. `deaths` int(11) DEFAULT '0',
  161. `faction_leader` int(1) DEFAULT '0',
  162. `fingerprint` text,
  163. `casualskin` int(3) DEFAULT '0',
  164. `bankmoney` bigint(20) DEFAULT '750',
  165. `car_license` int(1) DEFAULT '0',
  166. `bike_license` int(1) DEFAULT '0',
  167. `boat_license` int(1) DEFAULT '0',
  168. `pilot_license` int(1) DEFAULT '0',
  169. `fish_license` int(1) DEFAULT '0',
  170. `gun_license` int(1) DEFAULT '0',
  171. `gun2_license` int(1) DEFAULT '0',
  172. `tag` int(3) DEFAULT '1',
  173. `hoursplayed` int(11) DEFAULT '0',
  174. `pdjail_station` int(1) DEFAULT '0',
  175. `timeinserver` int(2) DEFAULT '0',
  176. `restrainedobj` int(11) DEFAULT '0',
  177. `restrainedby` int(11) DEFAULT '0',
  178. `dutyskin` int(3) DEFAULT '-1',
  179. `fish` int(10) unsigned NOT NULL DEFAULT '0',
  180. `truckingruns` int(10) unsigned NOT NULL DEFAULT '0',
  181. `truckingwage` int(10) unsigned NOT NULL DEFAULT '0',
  182. `blindfold` tinyint(4) NOT NULL DEFAULT '0',
  183. `lang1` tinyint(2) DEFAULT '1',
  184. `lang1skill` tinyint(3) DEFAULT '100',
  185. `lang2` tinyint(2) DEFAULT '0',
  186. `lang2skill` tinyint(3) DEFAULT '0',
  187. `lang3` tinyint(2) DEFAULT '0',
  188. `lang3skill` tinyint(3) DEFAULT '0',
  189. `currlang` tinyint(1) DEFAULT '1',
  190. `lastlogin` datetime DEFAULT NULL,
  191. `creationdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  192. `jobcontract` tinyint(3) unsigned NOT NULL DEFAULT '0',
  193. `marriedto` int(10) unsigned NOT NULL DEFAULT '0',
  194. `ck_info` text,
  195. `alcohollevel` float NOT NULL DEFAULT '0',
  196. `active` tinyint(1) unsigned NOT NULL DEFAULT '1',
  197. `accent` int(5) NOT NULL DEFAULT '1',
  198. `walkStyle` int(5) NOT NULL DEFAULT '54',
  199. `clothingid` int(10) unsigned DEFAULT NULL,
  200. `day` int(5) DEFAULT NULL,
  201. `month` int(5) DEFAULT NULL,
  202. UNIQUE KEY `id` (`id`)
  203. ) ENGINE=InnoDB AUTO_INCREMENT=74 DEFAULT CHARSET=latin1;
  204.  
  205. -- ----------------------------
  206. -- Table structure for clothing
  207. -- ----------------------------
  208. DROP TABLE IF EXISTS `clothing`;
  209. CREATE TABLE `clothing` (
  210. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  211. `skin` int(11) unsigned NOT NULL,
  212. `url` varchar(255) NOT NULL,
  213. `description` varchar(255) NOT NULL,
  214. `price` int(11) unsigned NOT NULL,
  215. PRIMARY KEY (`id`)
  216. ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
  217.  
  218. -- ----------------------------
  219. -- Table structure for computers
  220. -- ----------------------------
  221. DROP TABLE IF EXISTS `computers`;
  222. CREATE TABLE `computers` (
  223. `id` int(11) NOT NULL AUTO_INCREMENT,
  224. `posX` float(10,5) NOT NULL,
  225. `posY` float(10,5) NOT NULL,
  226. `posZ` float(10,5) NOT NULL,
  227. `rotX` float(10,5) NOT NULL,
  228. `rotY` float(10,5) NOT NULL,
  229. `rotZ` float(10,5) NOT NULL,
  230. `interior` int(8) NOT NULL,
  231. `dimension` int(8) NOT NULL,
  232. `model` int(8) NOT NULL,
  233. PRIMARY KEY (`id`)
  234. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  235.  
  236. -- ----------------------------
  237. -- Table structure for dancers
  238. -- ----------------------------
  239. DROP TABLE IF EXISTS `dancers`;
  240. CREATE TABLE `dancers` (
  241. `id` int(10) NOT NULL AUTO_INCREMENT,
  242. `x` float NOT NULL,
  243. `y` float NOT NULL,
  244. `z` float NOT NULL,
  245. `rotation` float NOT NULL,
  246. `skin` smallint(5) unsigned NOT NULL,
  247. `type` tinyint(3) unsigned NOT NULL,
  248. `interior` int(10) unsigned NOT NULL,
  249. `dimension` int(10) unsigned NOT NULL,
  250. `offset` tinyint(3) unsigned NOT NULL,
  251. PRIMARY KEY (`id`)
  252. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  253.  
  254. -- ----------------------------
  255. -- Table structure for don_transaction_failed
  256. -- ----------------------------
  257. DROP TABLE IF EXISTS `don_transaction_failed`;
  258. CREATE TABLE `don_transaction_failed` (
  259. `id` int(11) NOT NULL AUTO_INCREMENT,
  260. `output` text NOT NULL,
  261. `ip` varchar(30) DEFAULT NULL,
  262. PRIMARY KEY (`id`)
  263. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  264.  
  265. -- ----------------------------
  266. -- Table structure for don_transactions
  267. -- ----------------------------
  268. DROP TABLE IF EXISTS `don_transactions`;
  269. CREATE TABLE `don_transactions` (
  270. `id` int(11) NOT NULL AUTO_INCREMENT,
  271. `transaction_id` varchar(64) NOT NULL,
  272. `donator_email` varchar(255) NOT NULL,
  273. `amount` double NOT NULL,
  274. `original_request` text,
  275. `dt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  276. `handled` smallint(1) DEFAULT '0',
  277. `username` varchar(50) NOT NULL,
  278. `realamount` double NOT NULL DEFAULT '0',
  279. PRIMARY KEY (`id`)
  280. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  281.  
  282. -- ----------------------------
  283. -- Table structure for donators
  284. -- ----------------------------
  285. DROP TABLE IF EXISTS `donators`;
  286. CREATE TABLE `donators` (
  287. `id` int(11) NOT NULL AUTO_INCREMENT,
  288. `accountID` int(11) NOT NULL,
  289. `charID` int(11) NOT NULL DEFAULT '-1',
  290. `perkID` int(4) NOT NULL,
  291. `perkValue` varchar(10) NOT NULL DEFAULT '1',
  292. `expirationDate` datetime NOT NULL,
  293. PRIMARY KEY (`id`)
  294. ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=latin1;
  295.  
  296. -- ----------------------------
  297. -- Table structure for elevators
  298. -- ----------------------------
  299. DROP TABLE IF EXISTS `elevators`;
  300. CREATE TABLE `elevators` (
  301. `id` int(11) NOT NULL AUTO_INCREMENT,
  302. `x` decimal(10,6) DEFAULT '0.000000',
  303. `y` decimal(10,6) DEFAULT '0.000000',
  304. `z` decimal(10,6) DEFAULT '0.000000',
  305. `tpx` decimal(10,6) DEFAULT '0.000000',
  306. `tpy` decimal(10,6) DEFAULT '0.000000',
  307. `tpz` decimal(10,6) DEFAULT '0.000000',
  308. `dimensionwithin` int(5) DEFAULT '0',
  309. `interiorwithin` int(5) DEFAULT '0',
  310. `dimension` int(5) DEFAULT '0',
  311. `interior` int(5) DEFAULT '0',
  312. `car` tinyint(3) unsigned DEFAULT '0',
  313. `disabled` tinyint(3) unsigned DEFAULT '0',
  314. `irotation` int(11) DEFAULT NULL,
  315. `rotation` int(11) DEFAULT NULL,
  316. UNIQUE KEY `id` (`id`)
  317. ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
  318.  
  319. -- ----------------------------
  320. -- Table structure for emailaccounts
  321. -- ----------------------------
  322. DROP TABLE IF EXISTS `emailaccounts`;
  323. CREATE TABLE `emailaccounts` (
  324. `id` int(11) NOT NULL AUTO_INCREMENT,
  325. `username` text,
  326. `password` text,
  327. `creator` int(11) DEFAULT NULL,
  328. UNIQUE KEY `id` (`id`)
  329. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  330.  
  331. -- ----------------------------
  332. -- Table structure for emails
  333. -- ----------------------------
  334. DROP TABLE IF EXISTS `emails`;
  335. CREATE TABLE `emails` (
  336. `id` int(11) NOT NULL AUTO_INCREMENT,
  337. `date` datetime NOT NULL,
  338. `sender` text,
  339. `receiver` text,
  340. `subject` text,
  341. `message` text,
  342. `inbox` int(1) NOT NULL DEFAULT '0',
  343. `outbox` int(1) NOT NULL DEFAULT '0',
  344. UNIQUE KEY `id` (`id`)
  345. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  346.  
  347. -- ----------------------------
  348. -- Table structure for factions
  349. -- ----------------------------
  350. DROP TABLE IF EXISTS `factions`;
  351. CREATE TABLE `factions` (
  352. `id` int(11) NOT NULL AUTO_INCREMENT,
  353. `name` text,
  354. `bankbalance` bigint(20) DEFAULT NULL,
  355. `type` int(11) DEFAULT NULL,
  356. `rank_1` text,
  357. `rank_2` text,
  358. `rank_3` text,
  359. `rank_4` text,
  360. `rank_5` text,
  361. `rank_6` text,
  362. `rank_7` text,
  363. `rank_8` text,
  364. `rank_9` text,
  365. `rank_10` text,
  366. `rank_11` text,
  367. `rank_12` text,
  368. `rank_13` text,
  369. `rank_14` text,
  370. `rank_15` text,
  371. `rank_16` text,
  372. `rank_17` text,
  373. `rank_18` text,
  374. `rank_19` text,
  375. `rank_20` text,
  376. `wage_1` int(11) DEFAULT '100',
  377. `wage_2` int(11) DEFAULT '100',
  378. `wage_3` int(11) DEFAULT '100',
  379. `wage_4` int(11) DEFAULT '100',
  380. `wage_5` int(11) DEFAULT '100',
  381. `wage_6` int(11) DEFAULT '100',
  382. `wage_7` int(11) DEFAULT '100',
  383. `wage_8` int(11) DEFAULT '100',
  384. `wage_9` int(11) DEFAULT '100',
  385. `wage_10` int(11) DEFAULT '100',
  386. `wage_11` int(11) DEFAULT '100',
  387. `wage_12` int(11) DEFAULT '100',
  388. `wage_13` int(11) DEFAULT '100',
  389. `wage_14` int(11) DEFAULT '100',
  390. `wage_15` int(11) DEFAULT '100',
  391. `wage_16` int(11) DEFAULT '100',
  392. `wage_17` int(11) DEFAULT '100',
  393. `wage_18` int(11) DEFAULT '100',
  394. `wage_19` int(11) DEFAULT '100',
  395. `wage_20` int(11) DEFAULT '100',
  396. `motd` text,
  397. `note` text,
  398. UNIQUE KEY `id` (`id`)
  399. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
  400.  
  401. -- ----------------------------
  402. -- Table structure for forgotdetails
  403. -- ----------------------------
  404. DROP TABLE IF EXISTS `forgotdetails`;
  405. CREATE TABLE `forgotdetails` (
  406. `uniquekey` varchar(32) NOT NULL,
  407. `account` int(11) DEFAULT '0',
  408. `keytimestamp` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP
  409. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  410.  
  411. -- ----------------------------
  412. -- Table structure for friends
  413. -- ----------------------------
  414. DROP TABLE IF EXISTS `friends`;
  415. CREATE TABLE `friends` (
  416. `id` int(10) unsigned NOT NULL,
  417. `friend` int(10) unsigned NOT NULL,
  418. PRIMARY KEY (`id`,`friend`)
  419. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  420.  
  421. -- ----------------------------
  422. -- Table structure for fuelpumps
  423. -- ----------------------------
  424. DROP TABLE IF EXISTS `fuelpumps`;
  425. CREATE TABLE `fuelpumps` (
  426. `id` int(11) NOT NULL AUTO_INCREMENT,
  427. `posX` float NOT NULL,
  428. `posY` float NOT NULL,
  429. `posZ` float NOT NULL,
  430. `rotX` float NOT NULL,
  431. `rotY` float NOT NULL,
  432. `rotZ` float NOT NULL,
  433. PRIMARY KEY (`id`)
  434. ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1;
  435.  
  436. -- ----------------------------
  437. -- Table structure for fuelstations
  438. -- ----------------------------
  439. DROP TABLE IF EXISTS `fuelstations`;
  440. CREATE TABLE `fuelstations` (
  441. `id` int(11) NOT NULL AUTO_INCREMENT,
  442. `x` decimal(10,6) DEFAULT '0.000000',
  443. `y` decimal(10,6) DEFAULT '0.000000',
  444. `z` decimal(10,6) DEFAULT '0.000000',
  445. `interior` int(5) DEFAULT '0',
  446. `dimension` int(5) DEFAULT '0',
  447. UNIQUE KEY `id` (`id`)
  448. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  449.  
  450. -- ----------------------------
  451. -- Table structure for gates
  452. -- ----------------------------
  453. DROP TABLE IF EXISTS `gates`;
  454. CREATE TABLE `gates` (
  455. `id` int(11) NOT NULL AUTO_INCREMENT,
  456. `objectID` int(11) NOT NULL,
  457. `startX` float NOT NULL,
  458. `startY` float NOT NULL,
  459. `startZ` float NOT NULL,
  460. `startRX` float NOT NULL,
  461. `startRY` float NOT NULL,
  462. `startRZ` float NOT NULL,
  463. `endX` float NOT NULL,
  464. `endY` float NOT NULL,
  465. `endZ` float NOT NULL,
  466. `endRX` float NOT NULL,
  467. `endRY` float NOT NULL,
  468. `endRZ` float NOT NULL,
  469. `gateType` tinyint(3) unsigned NOT NULL,
  470. `autocloseTime` int(4) NOT NULL,
  471. `movementTime` int(4) NOT NULL,
  472. `objectDimension` int(11) NOT NULL,
  473. `objectInterior` int(11) NOT NULL,
  474. `gateSecurityParameters` text,
  475. `createdDate` timestamp NULL DEFAULT NULL,
  476. `creator` text,
  477. `supervisorNote` text,
  478. PRIMARY KEY (`id`)
  479. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
  480.  
  481. -- ----------------------------
  482. -- Table structure for infopoints
  483. -- ----------------------------
  484. DROP TABLE IF EXISTS `infopoints`;
  485. CREATE TABLE `infopoints` (
  486. `id` int(5) NOT NULL AUTO_INCREMENT,
  487. `x` varchar(300) NOT NULL,
  488. `y` varchar(300) NOT NULL,
  489. `z` varchar(300) NOT NULL,
  490. `interior` varchar(300) NOT NULL,
  491. `dimension` varchar(300) NOT NULL,
  492. `text` text NOT NULL,
  493. `placer` text NOT NULL,
  494. PRIMARY KEY (`id`)
  495. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
  496.  
  497. -- ----------------------------
  498. -- Table structure for interior_textures
  499. -- ----------------------------
  500. DROP TABLE IF EXISTS `interior_textures`;
  501. CREATE TABLE `interior_textures` (
  502. `id` int(11) NOT NULL AUTO_INCREMENT,
  503. `interior` int(11) NOT NULL,
  504. `texture` varchar(255) NOT NULL,
  505. `url` varchar(255) NOT NULL,
  506. PRIMARY KEY (`id`)
  507. ) ENGINE=MyISAM AUTO_INCREMENT=399 DEFAULT CHARSET=utf8;
  508.  
  509. -- ----------------------------
  510. -- Table structure for interiors
  511. -- ----------------------------
  512. DROP TABLE IF EXISTS `interiors`;
  513. CREATE TABLE `interiors` (
  514. `id` int(11) NOT NULL AUTO_INCREMENT,
  515. `x` float DEFAULT '0',
  516. `y` float DEFAULT '0',
  517. `z` float DEFAULT '0',
  518. `type` int(1) DEFAULT '0',
  519. `owner` int(11) DEFAULT '-1',
  520. `locked` int(1) DEFAULT '0',
  521. `cost` int(11) DEFAULT '0',
  522. `name` text,
  523. `interior` int(5) DEFAULT '0',
  524. `interiorx` float DEFAULT '0',
  525. `interiory` float DEFAULT '0',
  526. `interiorz` float DEFAULT '0',
  527. `dimensionwithin` int(5) DEFAULT '0',
  528. `interiorwithin` int(5) DEFAULT '0',
  529. `angle` float DEFAULT '0',
  530. `angleexit` float DEFAULT '0',
  531. `supplies` int(11) DEFAULT '100',
  532. `safepositionX` float DEFAULT NULL,
  533. `safepositionY` float DEFAULT NULL,
  534. `safepositionZ` float DEFAULT NULL,
  535. `safepositionRZ` float DEFAULT NULL,
  536. `fee` int(10) unsigned DEFAULT '0',
  537. `disabled` tinyint(3) unsigned DEFAULT '0',
  538. `lastused` datetime DEFAULT NULL,
  539. `bizamount` int(11) NOT NULL DEFAULT '0',
  540. `biznote` text,
  541. UNIQUE KEY `id` (`id`)
  542. ) ENGINE=InnoDB AUTO_INCREMENT=308 DEFAULT CHARSET=latin1;
  543.  
  544. -- ----------------------------
  545. -- Table structure for items
  546. -- ----------------------------
  547. DROP TABLE IF EXISTS `items`;
  548. CREATE TABLE `items` (
  549. `index` int(10) unsigned NOT NULL AUTO_INCREMENT,
  550. `type` tinyint(3) unsigned NOT NULL,
  551. `owner` int(10) unsigned NOT NULL,
  552. `itemID` int(10) NOT NULL,
  553. `itemValue` text NOT NULL,
  554. PRIMARY KEY (`index`)
  555. ) ENGINE=InnoDB AUTO_INCREMENT=3245 DEFAULT CHARSET=latin1;
  556.  
  557. -- ----------------------------
  558. -- Table structure for logtable
  559. -- ----------------------------
  560. DROP TABLE IF EXISTS `logtable`;
  561. CREATE TABLE `logtable` (
  562. `time` datetime NOT NULL,
  563. `action` int(2) NOT NULL,
  564. `source` varchar(12) NOT NULL,
  565. `affected` text NOT NULL,
  566. `content` text
  567. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  568.  
  569. -- ----------------------------
  570. -- Table structure for lottery
  571. -- ----------------------------
  572. DROP TABLE IF EXISTS `lottery`;
  573. CREATE TABLE `lottery` (
  574. `characterid` int(255) NOT NULL,
  575. `ticketnumber` int(3) NOT NULL
  576. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  577.  
  578. -- ----------------------------
  579. -- Table structure for mdc_apb
  580. -- ----------------------------
  581. DROP TABLE IF EXISTS `mdc_apb`;
  582. CREATE TABLE `mdc_apb` (
  583. `id` int(11) NOT NULL AUTO_INCREMENT,
  584. `person_involved` varchar(255) NOT NULL,
  585. `description` text NOT NULL,
  586. `doneby` int(11) NOT NULL,
  587. `time` int(11) NOT NULL,
  588. PRIMARY KEY (`id`)
  589. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  590.  
  591. -- ----------------------------
  592. -- Table structure for mdc_calls
  593. -- ----------------------------
  594. DROP TABLE IF EXISTS `mdc_calls`;
  595. CREATE TABLE `mdc_calls` (
  596. `id` int(11) NOT NULL AUTO_INCREMENT,
  597. `caller` varchar(50) NOT NULL,
  598. `number` varchar(10) NOT NULL,
  599. `description` varchar(255) NOT NULL,
  600. `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  601. PRIMARY KEY (`id`)
  602. ) ENGINE=InnoDB AUTO_INCREMENT=3762 DEFAULT CHARSET=latin1;
  603.  
  604. -- ----------------------------
  605. -- Table structure for mdc_crimes
  606. -- ----------------------------
  607. DROP TABLE IF EXISTS `mdc_crimes`;
  608. CREATE TABLE `mdc_crimes` (
  609. `id` int(11) NOT NULL AUTO_INCREMENT,
  610. `crime` varchar(255) NOT NULL,
  611. `punishment` varchar(255) NOT NULL,
  612. `character` int(11) NOT NULL,
  613. `officer` int(11) NOT NULL,
  614. `timestamp` int(11) NOT NULL,
  615. PRIMARY KEY (`id`)
  616. ) ENGINE=MyISAM AUTO_INCREMENT=670 DEFAULT CHARSET=latin1;
  617.  
  618. -- ----------------------------
  619. -- Table structure for mdc_criminals
  620. -- ----------------------------
  621. DROP TABLE IF EXISTS `mdc_criminals`;
  622. CREATE TABLE `mdc_criminals` (
  623. `character` int(11) NOT NULL,
  624. `dob` varchar(10) NOT NULL DEFAULT 'mm/dd/yyyy',
  625. `ethnicity` varchar(50) NOT NULL DEFAULT 'Unknown',
  626. `phone` varchar(10) NOT NULL DEFAULT 'Unknown',
  627. `occupation` varchar(50) NOT NULL DEFAULT 'Unknown',
  628. `address` varchar(50) NOT NULL DEFAULT 'Unknown',
  629. `photo` int(11) NOT NULL DEFAULT '-1',
  630. `details` varchar(255) NOT NULL DEFAULT 'None',
  631. `created_by` int(11) NOT NULL DEFAULT '0',
  632. `wanted` int(11) NOT NULL DEFAULT '0',
  633. `wanted_by` int(11) NOT NULL DEFAULT '0',
  634. `wanted_details` varchar(255) DEFAULT NULL,
  635. UNIQUE KEY `name` (`character`)
  636. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  637.  
  638. -- ----------------------------
  639. -- Table structure for mdc_stolen
  640. -- ----------------------------
  641. DROP TABLE IF EXISTS `mdc_stolen`;
  642. CREATE TABLE `mdc_stolen` (
  643. `id` int(15) NOT NULL AUTO_INCREMENT,
  644. `vin` int(25) DEFAULT NULL,
  645. `name` text,
  646. `owner` text,
  647. `desc` text,
  648. `date` date NOT NULL,
  649. PRIMARY KEY (`id`)
  650. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  651.  
  652. -- ----------------------------
  653. -- Table structure for mdc_users
  654. -- ----------------------------
  655. DROP TABLE IF EXISTS `mdc_users`;
  656. CREATE TABLE `mdc_users` (
  657. `id` int(11) NOT NULL AUTO_INCREMENT,
  658. `user` varchar(30) NOT NULL,
  659. `pass` varchar(30) NOT NULL,
  660. `level` int(11) NOT NULL,
  661. PRIMARY KEY (`id`)
  662. ) ENGINE=MyISAM AUTO_INCREMENT=83 DEFAULT CHARSET=latin1;
  663.  
  664. -- ----------------------------
  665. -- Table structure for objects
  666. -- ----------------------------
  667. DROP TABLE IF EXISTS `objects`;
  668. CREATE TABLE `objects` (
  669. `id` int(11) NOT NULL AUTO_INCREMENT,
  670. `model` int(6) NOT NULL DEFAULT '0',
  671. `posX` float(12,7) NOT NULL DEFAULT '0.0000000',
  672. `posY` float(12,7) NOT NULL DEFAULT '0.0000000',
  673. `posZ` float(12,7) NOT NULL DEFAULT '0.0000000',
  674. `rotX` float(12,7) NOT NULL DEFAULT '0.0000000',
  675. `rotY` float(12,7) NOT NULL DEFAULT '0.0000000',
  676. `rotZ` float(12,7) NOT NULL DEFAULT '0.0000000',
  677. `interior` int(5) NOT NULL,
  678. `dimension` int(5) NOT NULL,
  679. `comment` varchar(50) DEFAULT NULL,
  680. `solid` int(1) NOT NULL DEFAULT '1',
  681. `doublesided` int(1) NOT NULL DEFAULT '0',
  682. PRIMARY KEY (`id`),
  683. UNIQUE KEY `id` (`id`)
  684. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  685.  
  686. -- ----------------------------
  687. -- Table structure for paynspray
  688. -- ----------------------------
  689. DROP TABLE IF EXISTS `paynspray`;
  690. CREATE TABLE `paynspray` (
  691. `id` int(11) NOT NULL AUTO_INCREMENT,
  692. `x` decimal(10,6) DEFAULT '0.000000',
  693. `y` decimal(10,6) DEFAULT '0.000000',
  694. `z` decimal(10,6) DEFAULT '0.000000',
  695. `dimension` int(5) DEFAULT '0',
  696. `interior` int(5) DEFAULT '0',
  697. UNIQUE KEY `id` (`id`)
  698. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  699.  
  700. -- ----------------------------
  701. -- Table structure for phone_contacts
  702. -- ----------------------------
  703. DROP TABLE IF EXISTS `phone_contacts`;
  704. CREATE TABLE `phone_contacts` (
  705. `phone` int(11) NOT NULL,
  706. `entryName` varchar(30) NOT NULL,
  707. `entryNumber` int(11) NOT NULL
  708. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  709.  
  710. -- ----------------------------
  711. -- Table structure for phone_settings
  712. -- ----------------------------
  713. DROP TABLE IF EXISTS `phone_settings`;
  714. CREATE TABLE `phone_settings` (
  715. `phonenumber` int(1) NOT NULL,
  716. `turnedon` smallint(1) unsigned NOT NULL DEFAULT '1',
  717. `secretnumber` smallint(1) unsigned NOT NULL DEFAULT '0',
  718. `ringtone` smallint(1) NOT NULL DEFAULT '1',
  719. `phonebook` varchar(40) DEFAULT NULL,
  720. `boughtby` int(11) NOT NULL DEFAULT '-1',
  721. `phonenote` text,
  722. PRIMARY KEY (`phonenumber`)
  723. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  724.  
  725. -- ----------------------------
  726. -- Table structure for phonebook
  727. -- ----------------------------
  728. DROP TABLE IF EXISTS `phonebook`;
  729. CREATE TABLE `phonebook` (
  730. `id` int(5) NOT NULL AUTO_INCREMENT,
  731. `name` text NOT NULL,
  732. `number` text NOT NULL,
  733. PRIMARY KEY (`id`)
  734. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  735.  
  736. -- ----------------------------
  737. -- Table structure for publicphones
  738. -- ----------------------------
  739. DROP TABLE IF EXISTS `publicphones`;
  740. CREATE TABLE `publicphones` (
  741. `id` int(10) unsigned NOT NULL,
  742. `x` float NOT NULL,
  743. `y` float NOT NULL,
  744. `z` float NOT NULL,
  745. `dimension` int(10) unsigned NOT NULL,
  746. PRIMARY KEY (`id`)
  747. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  748.  
  749. -- ----------------------------
  750. -- Table structure for ramps
  751. -- ----------------------------
  752. DROP TABLE IF EXISTS `ramps`;
  753. CREATE TABLE `ramps` (
  754. `id` int(2) NOT NULL AUTO_INCREMENT,
  755. `position` text,
  756. `interior` int(2) DEFAULT NULL,
  757. `dimension` int(2) DEFAULT NULL,
  758. `rotation` int(5) DEFAULT NULL,
  759. `creator` text,
  760. `state` int(2) DEFAULT NULL,
  761. PRIMARY KEY (`id`)
  762. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  763.  
  764. -- ----------------------------
  765. -- Table structure for settings
  766. -- ----------------------------
  767. DROP TABLE IF EXISTS `settings`;
  768. CREATE TABLE `settings` (
  769. `id` int(11) NOT NULL AUTO_INCREMENT,
  770. `name` text,
  771. `value` text,
  772. UNIQUE KEY `id` (`id`)
  773. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
  774.  
  775. -- ----------------------------
  776. -- Table structure for shops
  777. -- ----------------------------
  778. DROP TABLE IF EXISTS `shops`;
  779. CREATE TABLE `shops` (
  780. `id` int(11) NOT NULL AUTO_INCREMENT,
  781. `x` float DEFAULT '0',
  782. `y` float DEFAULT '0',
  783. `z` float DEFAULT '0',
  784. `dimension` int(5) DEFAULT '0',
  785. `interior` int(5) DEFAULT '0',
  786. `shoptype` tinyint(4) DEFAULT '0',
  787. `rotation` float NOT NULL DEFAULT '0',
  788. `skin` int(11) DEFAULT '-1',
  789. `name` text,
  790. UNIQUE KEY `id` (`id`)
  791. ) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=latin1;
  792.  
  793. -- ----------------------------
  794. -- Table structure for speedcams
  795. -- ----------------------------
  796. DROP TABLE IF EXISTS `speedcams`;
  797. CREATE TABLE `speedcams` (
  798. `id` int(11) NOT NULL AUTO_INCREMENT,
  799. `x` float(11,7) NOT NULL DEFAULT '0.0000000',
  800. `y` float(11,7) NOT NULL DEFAULT '0.0000000',
  801. `z` float(11,7) NOT NULL DEFAULT '0.0000000',
  802. `interior` int(3) NOT NULL DEFAULT '0' COMMENT 'Stores the location of the pernament speedcams',
  803. `dimension` int(5) NOT NULL DEFAULT '0',
  804. `maxspeed` int(4) NOT NULL DEFAULT '120',
  805. `radius` int(4) NOT NULL DEFAULT '2',
  806. `enabled` smallint(1) DEFAULT '1',
  807. PRIMARY KEY (`id`)
  808. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  809.  
  810. -- ----------------------------
  811. -- Table structure for speedingviolations
  812. -- ----------------------------
  813. DROP TABLE IF EXISTS `speedingviolations`;
  814. CREATE TABLE `speedingviolations` (
  815. `id` int(11) NOT NULL AUTO_INCREMENT,
  816. `carID` int(11) NOT NULL,
  817. `time` datetime NOT NULL,
  818. `speed` int(5) NOT NULL,
  819. `area` varchar(50) NOT NULL,
  820. `personVisible` int(11) NOT NULL,
  821. PRIMARY KEY (`id`)
  822. ) ENGINE=InnoDB AUTO_INCREMENT=132376 DEFAULT CHARSET=latin1;
  823.  
  824. -- ----------------------------
  825. -- Table structure for supervisorhistory
  826. -- ----------------------------
  827. DROP TABLE IF EXISTS `supervisorhistory`;
  828. CREATE TABLE `supervisorhistory` (
  829. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  830. `user` int(10) unsigned NOT NULL,
  831. `user_char` text NOT NULL,
  832. `supervisor` int(10) unsigned NOT NULL,
  833. `supervisor_char` text NOT NULL,
  834. `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  835. `action` tinyint(3) unsigned NOT NULL,
  836. `duration` int(10) unsigned NOT NULL,
  837. `reason` text NOT NULL,
  838. `hiddensupervisor` tinyint(3) unsigned NOT NULL,
  839. PRIMARY KEY (`id`)
  840. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
  841.  
  842. -- ----------------------------
  843. -- Table structure for tags
  844. -- ----------------------------
  845. DROP TABLE IF EXISTS `tags`;
  846. CREATE TABLE `tags` (
  847. `id` int(11) NOT NULL AUTO_INCREMENT,
  848. `x` decimal(10,6) DEFAULT NULL,
  849. `y` decimal(10,6) DEFAULT NULL,
  850. `z` decimal(10,6) DEFAULT NULL,
  851. `interior` int(5) DEFAULT NULL,
  852. `dimension` int(5) DEFAULT NULL,
  853. `rx` decimal(10,6) DEFAULT NULL,
  854. `ry` decimal(10,6) DEFAULT NULL,
  855. `rz` decimal(10,6) DEFAULT NULL,
  856. `modelid` int(5) DEFAULT NULL,
  857. `creationdate` datetime DEFAULT NULL,
  858. `creator` int(11) NOT NULL DEFAULT '-1',
  859. UNIQUE KEY `id` (`id`)
  860. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
  861.  
  862. -- ----------------------------
  863. -- Table structure for tempinteriors
  864. -- ----------------------------
  865. DROP TABLE IF EXISTS `tempinteriors`;
  866. CREATE TABLE `tempinteriors` (
  867. `id` int(11) NOT NULL AUTO_INCREMENT,
  868. `posX` float NOT NULL,
  869. `posY` float DEFAULT NULL,
  870. `posZ` float DEFAULT NULL,
  871. `interior` int(5) DEFAULT NULL,
  872. UNIQUE KEY `id` (`id`)
  873. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  874.  
  875. -- ----------------------------
  876. -- Table structure for tempobjects
  877. -- ----------------------------
  878. DROP TABLE IF EXISTS `tempobjects`;
  879. CREATE TABLE `tempobjects` (
  880. `id` int(11) NOT NULL AUTO_INCREMENT,
  881. `model` int(6) NOT NULL DEFAULT '0',
  882. `posX` float(12,7) NOT NULL DEFAULT '0.0000000',
  883. `posY` float(12,7) NOT NULL DEFAULT '0.0000000',
  884. `posZ` float(12,7) NOT NULL DEFAULT '0.0000000',
  885. `rotX` float(12,7) NOT NULL DEFAULT '0.0000000',
  886. `rotY` float(12,7) NOT NULL DEFAULT '0.0000000',
  887. `rotZ` float(12,7) NOT NULL DEFAULT '0.0000000',
  888. `interior` int(5) NOT NULL,
  889. `dimension` int(5) NOT NULL,
  890. `comment` varchar(50) DEFAULT NULL,
  891. `solid` int(1) NOT NULL DEFAULT '1',
  892. `doublesided` int(1) NOT NULL DEFAULT '0',
  893. PRIMARY KEY (`id`)
  894. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  895.  
  896. -- ----------------------------
  897. -- Table structure for vehicles
  898. -- ----------------------------
  899. DROP TABLE IF EXISTS `vehicles`;
  900. CREATE TABLE `vehicles` (
  901. `id` int(11) NOT NULL AUTO_INCREMENT,
  902. `shop_id` int(15) DEFAULT '0',
  903. `model` int(3) DEFAULT '0',
  904. `x` decimal(10,6) DEFAULT '0.000000',
  905. `y` decimal(10,6) DEFAULT '0.000000',
  906. `z` decimal(10,6) DEFAULT '0.000000',
  907. `rotx` decimal(10,6) DEFAULT '0.000000',
  908. `roty` decimal(10,6) DEFAULT '0.000000',
  909. `rotz` decimal(10,6) DEFAULT '0.000000',
  910. `currx` decimal(10,6) DEFAULT '0.000000',
  911. `curry` decimal(10,6) DEFAULT '0.000000',
  912. `currz` decimal(10,6) DEFAULT '0.000000',
  913. `currrx` decimal(10,6) DEFAULT '0.000000',
  914. `currry` decimal(10,6) DEFAULT '0.000000',
  915. `currrz` decimal(10,6) NOT NULL DEFAULT '0.000000',
  916. `fuel` int(3) DEFAULT '100',
  917. `engine` int(1) DEFAULT '0',
  918. `locked` int(1) DEFAULT '0',
  919. `lights` int(1) DEFAULT '0',
  920. `sirens` int(1) DEFAULT '0',
  921. `paintjob` int(11) DEFAULT '0',
  922. `hp` float DEFAULT '1000',
  923. `color1` varchar(50) DEFAULT '0',
  924. `color2` varchar(50) DEFAULT '0',
  925. `color3` varchar(50) DEFAULT NULL,
  926. `color4` varchar(50) DEFAULT NULL,
  927. `plate` text,
  928. `faction` int(11) DEFAULT '-1',
  929. `owner` int(11) DEFAULT '-1',
  930. `job` int(11) DEFAULT '-1',
  931. `tintedwindows` int(1) DEFAULT '0',
  932. `dimension` int(5) DEFAULT '0',
  933. `interior` int(5) DEFAULT '0',
  934. `currdimension` int(5) DEFAULT '0',
  935. `currinterior` int(5) DEFAULT '0',
  936. `enginebroke` int(1) DEFAULT '0',
  937. `items` text,
  938. `itemvalues` text,
  939. `Impounded` int(3) DEFAULT '0',
  940. `handbrake` int(1) DEFAULT '0',
  941. `safepositionX` float DEFAULT NULL,
  942. `safepositionY` float DEFAULT NULL,
  943. `safepositionZ` float DEFAULT NULL,
  944. `safepositionRZ` float DEFAULT NULL,
  945. `upgrades` varchar(150) DEFAULT '[ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ]',
  946. `wheelStates` varchar(30) DEFAULT '[ [ 0, 0, 0, 0 ] ]',
  947. `panelStates` varchar(40) DEFAULT '[ [ 0, 0, 0, 0, 0, 0, 0 ] ]',
  948. `doorStates` varchar(30) DEFAULT '[ [ 0, 0, 0, 0, 0, 0 ] ]',
  949. `odometer` int(15) DEFAULT '0',
  950. `headlights` varchar(30) DEFAULT '[ [ 255, 255, 255 ] ]',
  951. `variant1` tinyint(3) unsigned NOT NULL DEFAULT '255',
  952. `variant2` tinyint(3) unsigned NOT NULL DEFAULT '255',
  953. `desc1` text NOT NULL,
  954. `desc2` text NOT NULL,
  955. `desc3` text NOT NULL,
  956. `desc4` text NOT NULL,
  957. `desc5` text NOT NULL,
  958. `show_vin` int(1) NOT NULL DEFAULT '1',
  959. `show_plate` int(1) NOT NULL DEFAULT '1',
  960. `registered` int(1) NOT NULL DEFAULT '1',
  961. `paintjob_url` text,
  962. `handling` text,
  963. UNIQUE KEY `id` (`id`)
  964. ) ENGINE=InnoDB AUTO_INCREMENT=239 DEFAULT CHARSET=latin1;
  965.  
  966. -- ----------------------------
  967. -- Table structure for vehicles_custom
  968. -- ----------------------------
  969. DROP TABLE IF EXISTS `vehicles_custom`;
  970. CREATE TABLE `vehicles_custom` (
  971. `id` int(15) NOT NULL AUTO_INCREMENT,
  972. `manufacturer` text NOT NULL,
  973. `model` text NOT NULL,
  974. `year` text NOT NULL,
  975. `cost` text NOT NULL,
  976. `tax` text NOT NULL,
  977. `handling` text NOT NULL,
  978. `notes` text NOT NULL,
  979. PRIMARY KEY (`id`)
  980. ) ENGINE=InnoDB AUTO_INCREMENT=232 DEFAULT CHARSET=latin1;
  981.  
  982. -- ----------------------------
  983. -- Table structure for vehicles_shop
  984. -- ----------------------------
  985. DROP TABLE IF EXISTS `vehicles_shop`;
  986. CREATE TABLE `vehicles_shop` (
  987. `id` int(15) NOT NULL AUTO_INCREMENT,
  988. `gtaid` int(15) NOT NULL,
  989. `manufacturer` text NOT NULL,
  990. `model` text NOT NULL,
  991. `year` text NOT NULL,
  992. `cost` text NOT NULL,
  993. `tax` text NOT NULL,
  994. `enabled` int(1) NOT NULL DEFAULT '1',
  995. `createdby` int(15) NOT NULL,
  996. `updatedby` int(15) NOT NULL,
  997. `createdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  998. `updatedate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  999. `notes` text NOT NULL,
  1000. `handling` text NOT NULL,
  1001. `shop_id` int(5) NOT NULL,
  1002. `spawnto` int(2) NOT NULL,
  1003. PRIMARY KEY (`id`)
  1004. ) ENGINE=InnoDB AUTO_INCREMENT=364 DEFAULT CHARSET=latin1;
  1005.  
  1006. -- ----------------------------
  1007. -- Table structure for wiretransfers
  1008. -- ----------------------------
  1009. DROP TABLE IF EXISTS `wiretransfers`;
  1010. CREATE TABLE `wiretransfers` (
  1011. `id` int(10) NOT NULL AUTO_INCREMENT,
  1012. `from` int(11) NOT NULL,
  1013. `to` int(11) NOT NULL,
  1014. `amount` int(11) NOT NULL,
  1015. `reason` text NOT NULL,
  1016. `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  1017. `type` int(11) NOT NULL,
  1018. PRIMARY KEY (`id`)
  1019. ) ENGINE=InnoDB AUTO_INCREMENT=1339 DEFAULT CHARSET=latin1;
  1020.  
  1021. -- ----------------------------
  1022. -- Table structure for worlditems
  1023. -- ----------------------------
  1024. DROP TABLE IF EXISTS `worlditems`;
  1025. CREATE TABLE `worlditems` (
  1026. `id` int(11) NOT NULL AUTO_INCREMENT,
  1027. `itemid` int(11) DEFAULT '0',
  1028. `itemvalue` text,
  1029. `x` float DEFAULT '0',
  1030. `y` float DEFAULT '0',
  1031. `z` float DEFAULT '0',
  1032. `dimension` int(5) DEFAULT '0',
  1033. `interior` int(5) DEFAULT '0',
  1034. `creationdate` datetime DEFAULT NULL,
  1035. `rz` float DEFAULT '0',
  1036. `creator` int(10) unsigned DEFAULT '0',
  1037. `protected` int(11) NOT NULL DEFAULT '0',
  1038. UNIQUE KEY `id` (`id`)
  1039. ) ENGINE=InnoDB AUTO_INCREMENT=233 DEFAULT CHARSET=latin1;
  1040.  
  1041. -- ----------------------------
  1042. -- Records
  1043. -- ----------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement