Advertisement
RehabCZ

AuthMe SQL

Dec 25th, 2024
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.97 KB | Source Code | 0 0
  1. CREATE TABLE `authme` (
  2.   `id` mediumint UNSIGNED NOT NULL AUTO_INCREMENT,
  3.   `username` VARCHAR(255) NOT NULL,
  4.   `realname` VARCHAR(255) NOT NULL,
  5.   `password` VARCHAR(255) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
  6.   `ip` VARCHAR(40) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL,
  7.   `lastlogin` BIGINT DEFAULT NULL,
  8.   `x` DOUBLE NOT NULL DEFAULT '0',
  9.   `y` DOUBLE NOT NULL DEFAULT '0',
  10.   `z` DOUBLE NOT NULL DEFAULT '0',
  11.   `world` VARCHAR(255) NOT NULL DEFAULT 'world',
  12.   `regdate` BIGINT NOT NULL DEFAULT '0',
  13.   `regip` VARCHAR(40) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL,
  14.   `yaw` FLOAT DEFAULT NULL,
  15.   `pitch` FLOAT DEFAULT NULL,
  16.   `email` VARCHAR(255) DEFAULT NULL,
  17.   `isLogged` SMALLINT NOT NULL DEFAULT '0',
  18.   `hasSession` SMALLINT NOT NULL DEFAULT '0',
  19.   `totp` VARCHAR(32) DEFAULT NULL,
  20.   PRIMARY KEY (`id`),
  21.   UNIQUE KEY `username` (`username`)
  22. ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb3;
  23. SELECT * FROM aquaville_dev.users;
Tags: sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement