feat: add dependency

This commit is contained in:
2026-08-13 21:09:59 +07:00
parent 4060d99bbe
commit 31f53a1d52
3 changed files with 21 additions and 6 deletions
+7
View File
@@ -117,6 +117,13 @@
</dependencies>
<repositories>
<repository>
<id>gitlab-maven</id>
<url>https://gitlab.com/api/v4/projects/85282705/packages/maven</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
+6 -6
View File
@@ -9,18 +9,18 @@ spring:
jpa:
hibernate:
ddl-auto: update
ddl-auto: validate
properties:
hibernate:
default_schema: lms
format_sql: true
show-sql: true
# flyway:
# enabled: true
# default-schema: lms
# schemas: lms
# locations: classpath:db/migration
flyway:
enabled: true
default-schema: lms
schemas: lms
locations: classpath:db/migration
springdoc:
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)
);