We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 810067a commit 4e67453Copy full SHA for 4e67453
lab02/client-resttemplate/src/main/resources/db/oauth_client.sql
@@ -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