Skip to content

Commit 4e67453

Browse files
author
archcentric
committed
add oauth_client.sql
1 parent 810067a commit 4e67453

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
CREATE DATABASE clientdb;
2+
CREATE USER 'testuser'@'localhost' IDENTIFIED BY 'test';
3+
GRANT ALL PRIVILEGES ON clientdb.* TO 'testuser'@'localhost';
4+
5+
use clientdb;
6+
7+
create table client_user(
8+
id bigint auto_increment primary key,
9+
username varchar(100),
10+
password varchar(50),
11+
access_token varchar(100) NULL,
12+
access_token_validity datetime NULL,
13+
refresh_token varchar(100) NULL
14+
);
15+
16+
insert into client_user
17+
(username, password)
18+
value
19+
('bobo', 'xyz');

0 commit comments

Comments
 (0)