Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions authorize/src/test/resources/create_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ CREATE TABLE refresh_token (
scope VARCHAR NOT NULL,
remember VARCHAR NOT NULL,
refresh_token VARCHAR NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions cache/src/test/resources/create_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ CREATE TABLE refresh_token (
scope VARCHAR NOT NULL,
remember VARCHAR NOT NULL,
refresh_token VARCHAR NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions client/src/test/resources/create_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ CREATE TABLE refresh_token (
scope VARCHAR NOT NULL,
remember VARCHAR NOT NULL,
refresh_token VARCHAR NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions code/src/test/resources/create_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ CREATE TABLE refresh_token (
scope VARCHAR NOT NULL,
remember VARCHAR NOT NULL,
refresh_token VARCHAR NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions db/mariadb/create_mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ CREATE TABLE refresh_token (
scope VARCHAR(64) NOT NULL,
remember VARCHAR(1) NOT NULL,
refresh_token VARCHAR(256) NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
)
Expand Down
1 change: 1 addition & 0 deletions db/mysql/create_mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ CREATE TABLE refresh_token (
scope VARCHAR(64) NOT NULL,
remember VARCHAR(1) NOT NULL,
refresh_token VARCHAR(256) NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
)
Expand Down
1 change: 1 addition & 0 deletions db/oracle/create_oracle.sql
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ CREATE TABLE refresh_token (
scope VARCHAR2(64) NOT NULL,
remember VARCHAR2(1) NOT NULL,
refresh_token VARCHAR2(256) NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT refresh_token_pk PRIMARY KEY (client_id, refresh_token),
CONSTRAINT refresh_token_client_fk FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions db/sqlserver/create_sqlserver.sql
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ CREATE TABLE refresh_token (
scope VARCHAR(64) NOT NULL,
remember VARCHAR(1) NOT NULL,
refresh_token VARCHAR(256) NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions key/src/test/resources/create_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ CREATE TABLE refresh_token (
scope VARCHAR NOT NULL,
remember VARCHAR NOT NULL,
refresh_token VARCHAR NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions provider/src/test/resources/create_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ CREATE TABLE refresh_token (
scope VARCHAR NOT NULL,
remember VARCHAR NOT NULL,
refresh_token VARCHAR NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions refresh-token/src/test/resources/create_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ CREATE TABLE refresh_token (
scope VARCHAR NOT NULL,
remember VARCHAR NOT NULL,
refresh_token VARCHAR NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions service/src/test/resources/create_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ CREATE TABLE refresh_token (
scope VARCHAR NOT NULL,
remember VARCHAR NOT NULL,
refresh_token VARCHAR NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down
1 change: 1 addition & 0 deletions token/src/test/resources/create_h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ CREATE TABLE refresh_token (
scope VARCHAR NOT NULL,
remember VARCHAR NOT NULL,
refresh_token VARCHAR NOT NULL,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (user_id, client_id, refresh_token),
FOREIGN KEY (client_id) REFERENCES client(client_id)
);
Expand Down