forked from anton-liauchuk/educational-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
anton-liauchuk#14 add liquibase dependency
- Loading branch information
1 parent
3576be1
commit 9548a3a
Showing
12 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
administration/application/src/main/resources/db/administration.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
databaseChangeLog: | ||
- changeSet: | ||
id: 2020_06_07-1 | ||
author: antonliauchuk | ||
preConditions: | ||
onFail: MARK_RAN | ||
not: | ||
tableExists: | ||
tableName: course_proposal | ||
changes: | ||
- createTable: | ||
tableName: course_proposal | ||
columns: | ||
- column: | ||
name: id | ||
type: int | ||
autoIncrement: true | ||
startWith: 1 | ||
incrementBy: 1 | ||
constraints: | ||
primaryKey: true | ||
primaryKeyName: course_proposal_pk | ||
- column: | ||
constraints: | ||
nullable: false | ||
name: uuid | ||
type: uuid | ||
- column: | ||
constraints: | ||
nullable: false | ||
name: status | ||
type: VARCHAR(14) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
spring.liquibase.change-log=classpath:db/changelog/db.changelog-master.yml |
3 changes: 3 additions & 0 deletions
3
configuration/src/main/resources/db/changelog/db.changelog-master.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
databaseChangeLog: | ||
- include: | ||
file: "classpath*:/db/administration.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
security/config/src/main/resources/application-security.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
com.educational.platform.security.enabled=true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters