mirror of
https://gitlab01.pm.org.ru/tnt/liquibase/liquibase-maven.git
synced 2026-01-12 09:24:47 +08:00
delete external logging. it works.
This commit is contained in:
parent
4940edd398
commit
e02129560a
24
pom.xml
24
pom.xml
@ -11,35 +11,11 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<!-- <logback.version>1.2.13</logback.version>
|
||||
<slf4j.version>1.7.36</slf4j.version> -->
|
||||
<liquibase.version>4.17.0</liquibase.version>
|
||||
<postgresql.version>42.6.0</postgresql.version>
|
||||
<snakeyaml.version>1.32</snakeyaml.version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<!--Logging-->
|
||||
<!-- <dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>${slf4j.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>log4j-over-slf4j</artifactId>
|
||||
<version>${slf4j.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
<version>${slf4j.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>${logback.version}</version>
|
||||
</dependency> -->
|
||||
|
||||
<!--JDBC drivers-->
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
|
||||
25
target/liquibase/migrate.sql
Normal file
25
target/liquibase/migrate.sql
Normal file
@ -0,0 +1,25 @@
|
||||
-- *********************************************************************
|
||||
-- Update Database Script
|
||||
-- *********************************************************************
|
||||
-- Change Log: prod/master.xml
|
||||
-- Ran at: 17.04.2024, 17:39
|
||||
-- Against: dbuser01@jdbc:postgresql://10.2.5.46:5432/db01
|
||||
-- Liquibase version: 4.17.0
|
||||
-- *********************************************************************
|
||||
|
||||
SET SEARCH_PATH TO public, "$user","public";
|
||||
|
||||
-- Lock Database
|
||||
UPDATE databasechangeloglock SET LOCKED = TRUE, LOCKEDBY = 'centos7-netcore (10.2.5.28)', LOCKGRANTED = NOW() WHERE ID = 1 AND LOCKED = FALSE;
|
||||
|
||||
SET SEARCH_PATH TO public, "$user","public";
|
||||
|
||||
SET SEARCH_PATH TO public, "$user","public";
|
||||
|
||||
-- Release Database Lock
|
||||
SET SEARCH_PATH TO public, "$user","public";
|
||||
|
||||
UPDATE databasechangeloglock SET LOCKED = FALSE, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1;
|
||||
|
||||
SET SEARCH_PATH TO public, "$user","public";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user