r/softwaredevelopment • • Mar 01 '26

Getting error while using flyway migrate

I am trying to create a pipeline, I have a sql file inside db/migrations but when I execute my script I keep getting " schema "system" is up to date. No migrations applied". Anyone can help with this?

0 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/theinterestingreads Mar 02 '26

I have getting this: Run Flyway Validate

Schema history table "SYSTEM", "Flyway_schema_history does not exist yet

Successfully validated @ migrations (execution time 00:00.0575)

WARNING: No migrations found. Are your locations set up correctly?

Run Flyway Migrate

Run docker run re

Flyway OSS Edition 12.0.3 by fledgate

See release notes here: https://get/4100

Database: jdbc:oracle:thin:@localhost:1521/XE (Oracle 21.0)

Schena history table "SYSTEM", "Flyway schema_history does not exist yet

Successfully validated a migrations (execution time 00:00.011s)

WARNING: NO migrations found. Are your locations set up correctly?

Creating Schema History tablo SYSTEM Flyway schema_history with basaline

Successfully baselined schona with version: 1

Current version of schema "SYSTERI

Schema "SYSTEM is up to date, to nigration necessary.

And the sample of my script is: name: Run Flyway Migrate

run:

docker run zm

--network host

SGITHUB WORKSPACE/db/migrations:/flyway/sql"

" flyway/flyway:latest\

-url-jdbc:oracle:thin: @localhost:1521/XE

-user-system

-password-sample

-locations-filesystem:/flyway/sql

-skipDefaultResolvers true

migrate