mirror of
https://github.com/SWG-Source/auth-site.git
synced 2026-08-03 04:15:49 -04:00
initial commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `user_account`
|
||||
--
|
||||
|
||||
CREATE TABLE `user_account` (
|
||||
`user_id` int(11) NOT NULL,
|
||||
`accesslevel` varchar(255) NOT NULL,
|
||||
`username` varchar(255) NOT NULL,
|
||||
`password_salt` varchar(255) NOT NULL,
|
||||
`password_hash` varchar(255) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Indexes for table `user_account`
|
||||
--
|
||||
ALTER TABLE `user_account`
|
||||
ADD UNIQUE KEY `user_id` (`user_id`),
|
||||
ADD UNIQUE KEY `username` (`username`);
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `user_account`
|
||||
--
|
||||
ALTER TABLE `user_account`
|
||||
MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
Reference in New Issue
Block a user