SHARE
TWEET

Untitled

a guest May 24th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- --------------------------------------------------------
  2. -- Hôte :                        127.0.0.1
  3. -- Version du serveur:           8.0.15 - MySQL Community Server - GPL
  4. -- SE du serveur:                Win64
  5. -- HeidiSQL Version:             9.5.0.5196
  6. -- --------------------------------------------------------
  7.  
  8. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  9. /*!40101 SET NAMES utf8 */;
  10. /*!50503 SET NAMES utf8mb4 */;
  11. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  12. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  13.  
  14.  
  15. -- Export de la structure de la base pour altislife
  16. CREATE DATABASE IF NOT EXISTS `altislife` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */;
  17. USE `altislife`;
  18.  
  19. -- Export de la structure de la table altislife. players
  20. CREATE TABLE IF NOT EXISTS `players` (
  21.   `uid` int(6) NOT NULL AUTO_INCREMENT,
  22.   `name` varchar(32) NOT NULL,
  23.   `aliases` text NOT NULL,
  24.   `pid` varchar(17) NOT NULL,
  25.   `cash` int(100) NOT NULL DEFAULT '0',
  26.   `bankacc` int(100) NOT NULL DEFAULT '0',
  27.   `coplevel` enum('0','1','2','3','4','5','6','7') NOT NULL DEFAULT '0',
  28.   `mediclevel` enum('0','1','2','3','4','5') NOT NULL DEFAULT '0',
  29.   `civ_licenses` text NOT NULL,
  30.   `cop_licenses` text NOT NULL,
  31.   `med_licenses` text NOT NULL,
  32.   `civ_gear` text NOT NULL,
  33.   `cop_gear` text NOT NULL,
  34.   `med_gear` text NOT NULL,
  35.   `civ_stats` varchar(32) NOT NULL DEFAULT '"[100,100,0]"',
  36.   `cop_stats` varchar(32) NOT NULL DEFAULT '"[100,100,0]"',
  37.   `med_stats` varchar(32) NOT NULL DEFAULT '"[100,100,0]"',
  38.   `arrested` tinyint(1) NOT NULL DEFAULT '0',
  39.   `adminlevel` enum('0','1','2','3','4','5') NOT NULL DEFAULT '0',
  40.   `donorlevel` enum('0','1','2','3','4','5') NOT NULL DEFAULT '0',
  41.   `blacklist` tinyint(1) NOT NULL DEFAULT '0',
  42.   `civ_alive` tinyint(1) NOT NULL DEFAULT '0',
  43.   `civ_position` varchar(64) NOT NULL DEFAULT '"[]"',
  44.   `playtime` varchar(32) NOT NULL DEFAULT '"[0,0,0]"',
  45.   `insert_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  46.   `last_seen` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  47.   PRIMARY KEY (`uid`),
  48.   UNIQUE KEY `pid` (`pid`),
  49.   KEY `name` (`name`),
  50.   KEY `blacklist` (`blacklist`)
  51. ) ENGINE=InnoDB AUTO_INCREMENT=448 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  52.  
  53. -- Les données exportées n'étaient pas sélectionnées.
  54. /*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
  55. /*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
  56. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top