-
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.
feat(JAQPOT-2): flyway integration (#7)
* feat(JAQPOT-2): flyway integration * feat: add model table creation script * fix: make openapi work again
- Loading branch information
Showing
5 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
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,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project version="4"> | ||
<component name="DatabaseMigrationSettings" lastSelectedDirectory="src/main/resources/db/migration" flywayMigrationDescription="" useFlywayForce="true" /> | ||
<component name="JpaPluginProjectSettings"> | ||
<option name="lastSelectedLanguage" value="Kotlin" /> | ||
</component> | ||
<component name="PersistenceUnitSettings"> | ||
<persistence-units> | ||
<persistence-unit name="Default"> | ||
<packages> | ||
<package value="org.jaqpot.api" /> | ||
</packages> | ||
</persistence-unit> | ||
</persistence-units> | ||
</component> | ||
</project> |
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,11 @@ | ||
CREATE SEQUENCE IF NOT EXISTS model_seq START WITH 1 INCREMENT BY 50; | ||
|
||
CREATE TABLE model | ||
( | ||
id INTEGER NOT NULL, | ||
created_at TIMESTAMP WITHOUT TIME ZONE, | ||
updated_at TIMESTAMP WITHOUT TIME ZONE, | ||
is_public BOOLEAN NOT NULL, | ||
CONSTRAINT pk_model PRIMARY KEY (id) | ||
); | ||
|