This repository has been archived by the owner on May 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
account.sql
70 lines (57 loc) · 1.73 KB
/
account.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
-- phpMyAdmin SQL Dump
-- version 4.5.3.1
-- http://www.phpmyadmin.net
--
-- 主機: 127.0.0.1
-- 產生時間: 2016-07-18 17:06:44
-- 伺服器版本: 5.6.17
-- PHP 版本: 5.5.12
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 */;
--
-- 資料庫: `test`
--
-- --------------------------------------------------------
--
-- 資料表結構 `account`
--
CREATE TABLE `account` (
`id` int(11) NOT NULL,
`userid` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- 資料表的匯出資料 `account`
--
INSERT INTO `account` (`id`, `userid`, `password`, `email`) VALUES
(1, 'admin', '1234', '[email protected]'),
(2, 'user', 'user', '[email protected]'),
(3, 'jason', '1234', '[email protected]'),
(4, 'kuku', '1111', '[email protected]');
--
-- 已匯出資料表的索引
--
--
-- 資料表索引 `account`
--
ALTER TABLE `account`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `id` (`id`),
ADD KEY `id_2` (`id`),
ADD KEY `id_3` (`id`);
--
-- 在匯出的資料表使用 AUTO_INCREMENT
--
--
-- 使用資料表 AUTO_INCREMENT `account`
--
ALTER TABLE `account`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
/*!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 */;