feat: add dependency
This commit is contained in:
@@ -117,6 +117,13 @@
|
|||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>gitlab-maven</id>
|
||||||
|
<url>https://gitlab.com/api/v4/projects/85282705/packages/maven</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
@@ -9,18 +9,18 @@ spring:
|
|||||||
|
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: update
|
ddl-auto: validate
|
||||||
properties:
|
properties:
|
||||||
hibernate:
|
hibernate:
|
||||||
default_schema: lms
|
default_schema: lms
|
||||||
format_sql: true
|
format_sql: true
|
||||||
show-sql: true
|
show-sql: true
|
||||||
|
|
||||||
# flyway:
|
flyway:
|
||||||
# enabled: true
|
enabled: true
|
||||||
# default-schema: lms
|
default-schema: lms
|
||||||
# schemas: lms
|
schemas: lms
|
||||||
# locations: classpath:db/migration
|
locations: classpath:db/migration
|
||||||
|
|
||||||
springdoc:
|
springdoc:
|
||||||
swagger-ui:
|
swagger-ui:
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
-- Flyway Migration V1: Initial schema
|
||||||
|
-- Creates courses table
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS courses (
|
||||||
|
id BIGSERIAL PRIMARY KEY,
|
||||||
|
title VARCHAR(200) NOT NULL,
|
||||||
|
description VARCHAR(1000)
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user