[JAVA-13976] Upgrade Spring Boot to 2.7.2 (#12603)
* [JAVA-13976] Upgrade Spring Boot to 2.7.2 * [JAVA-13976] Fix failing test due to incorrect Jackson version
This commit is contained in:
@@ -1,50 +1,50 @@
|
||||
create table IF NOT EXISTS system_message (id integer not null, content varchar(255), primary key (id));
|
||||
|
||||
CREATE TABLE IF NOT EXISTS acl_sid (
|
||||
id bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
principal tinyint(1) NOT NULL,
|
||||
id bigint NOT NULL AUTO_INCREMENT,
|
||||
principal tinyint NOT NULL,
|
||||
sid varchar(100) NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY unique_uk_1 (sid,principal)
|
||||
CONSTRAINT unique_uk_1 UNIQUE (sid,principal)
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS acl_class (
|
||||
id bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
id bigint NOT NULL AUTO_INCREMENT,
|
||||
class varchar(255) NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY unique_uk_2 (class)
|
||||
CONSTRAINT unique_uk_2 UNIQUE (class)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS acl_entry (
|
||||
id bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
acl_object_identity bigint(20) NOT NULL,
|
||||
ace_order int(11) NOT NULL,
|
||||
sid bigint(20) NOT NULL,
|
||||
mask int(11) NOT NULL,
|
||||
granting tinyint(1) NOT NULL,
|
||||
audit_success tinyint(1) NOT NULL,
|
||||
audit_failure tinyint(1) NOT NULL,
|
||||
id bigint NOT NULL AUTO_INCREMENT,
|
||||
acl_object_identity bigint NOT NULL,
|
||||
ace_order int NOT NULL,
|
||||
sid bigint NOT NULL,
|
||||
mask int NOT NULL,
|
||||
granting tinyint NOT NULL,
|
||||
audit_success tinyint NOT NULL,
|
||||
audit_failure tinyint NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY unique_uk_4 (acl_object_identity,ace_order)
|
||||
CONSTRAINT unique_uk_4 UNIQUE (acl_object_identity,ace_order)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS acl_object_identity (
|
||||
id bigint(20) NOT NULL AUTO_INCREMENT,
|
||||
object_id_class bigint(20) NOT NULL,
|
||||
object_id_identity bigint(20) NOT NULL,
|
||||
parent_object bigint(20) DEFAULT NULL,
|
||||
owner_sid bigint(20) DEFAULT NULL,
|
||||
entries_inheriting tinyint(1) NOT NULL,
|
||||
id bigint NOT NULL AUTO_INCREMENT,
|
||||
object_id_class bigint NOT NULL,
|
||||
object_id_identity bigint NOT NULL,
|
||||
parent_object bigint DEFAULT NULL,
|
||||
owner_sid bigint DEFAULT NULL,
|
||||
entries_inheriting tinyint NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY unique_uk_3 (object_id_class,object_id_identity)
|
||||
CONSTRAINT unique_uk_3 UNIQUE (object_id_class,object_id_identity)
|
||||
);
|
||||
|
||||
|
||||
ALTER TABLE acl_entry
|
||||
ADD FOREIGN KEY (acl_object_identity) REFERENCES acl_object_identity(id);
|
||||
|
||||
ALTER TABLE acl_entry
|
||||
ADD FOREIGN KEY (sid) REFERENCES acl_sid(id);
|
||||
|
||||
|
||||
--
|
||||
-- Constraints for table acl_object_identity
|
||||
--
|
||||
|
||||
@@ -3,4 +3,6 @@ spring.social.facebook.appSecret=abefd6497e9cc01ad03be28509617bf0
|
||||
spring.thymeleaf.cache=false
|
||||
server.servlet.register-default-servlet=true
|
||||
spring.sql.init.mode=always
|
||||
spring.jpa.defer-datasource-initialization=true
|
||||
spring.jpa.defer-datasource-initialization=true
|
||||
|
||||
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
|
||||
|
||||
@@ -1 +1 @@
|
||||
insert into User (id, username, password) values (1,'john', '123');
|
||||
insert into "user" ("id", "username", "password") values (1,'john', '123');
|
||||
@@ -32,7 +32,6 @@
|
||||
<dependency>
|
||||
<groupId>de.flapdoodle.embed</groupId>
|
||||
<artifactId>de.flapdoodle.embed.mongo</artifactId>
|
||||
<version>3.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
|
||||
Reference in New Issue
Block a user