mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 03:01:03 +01:00
22 lines
543 B
MySQL
22 lines
543 B
MySQL
|
CREATE DATABASE IF NOT EXISTS myapp DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||
|
|
||
|
USE myapp;
|
||
|
|
||
|
SET NAMES utf8mb4;
|
||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||
|
|
||
|
DROP TABLE IF EXISTS users;
|
||
|
CREATE TABLE users (
|
||
|
id int(11) NOT NULL AUTO_INCREMENT,
|
||
|
username varchar(255) NOT NULL,
|
||
|
password varchar(255) NOT NULL,
|
||
|
email varchar(255) NOT NULL,
|
||
|
PRIMARY KEY (id)
|
||
|
);
|
||
|
|
||
|
INSERT INTO users (username,password,email)
|
||
|
VALUES
|
||
|
('admin', 'admin', 'kataras2006@hotmail.com'),
|
||
|
("iris", 'iris_password', 'iris-go@outlook.com');
|
||
|
|
||
|
SET FOREIGN_KEY_CHECKS = 1;
|