Activity overview
Latest activity by jahmezz
I signed up for Flyway Community and followed the install wizard. I assume that I am using an outdated version because I installed it in late January. / comments
I signed up for Flyway Community and followed the install wizard. I assume that I am using an outdated version because I installed it in late January.
EDIT: Your comments were right. The table name was wrong, causing the error. Debug output being on would have saved me. Thank you. Tried it again on another computer that had Flyway Desktop installed. Using Command Prompt... flyway -X migrate -url=jdbc:postgresql://localhost:5432/database -locations=filesystem:./migrations -user=postgres -password=postgres No output. Even doing flyway version has no output. flyway by itself outputs the help information. Here is screenshot of the Flyway Desktop About screen on my computer. https://postimg.cc/t17rPfSP The remaining database update to do was this...
ALTER TABLE table
ADD COLUMN column10 NOT NULL DEFAULT 0; After running flyway migrate, this does not apply. The flyway schema history remains unchanged. But as I mention in the first comment, after uninstalling Flyway Desktop and installing the CLI, it worked just fine.
/ comments
EDIT: Your comments were right. The table name was wrong, causing the error. Debug output being on would have saved me. Thank you.Tried it again on another computer that had Flyway Desktop installe...
Yes. I have inherited a codebase and the upgrade database script runs this.
powershell flyway -outOfOrder="true" migrate -url=jdbc:postgresql://${host}:${port}/${database} -locations=filesystem:./${MIGRATION_FOLDER} -user=${user} ${passwordSection} When I ran this, I saw no debug statements at all. Just a silent end of the program. But when I uninstalled Flyway Desktop Community and installed Flyway CLI for Windows, it showed me printed logs and completed the migration just fine. More information about things... 1. The migrations folder was a simple child folder ./migration 2. The DB is postgres at localhost:5432, username postgres, password postgres... 3. The migration itself was ALTER TABLE add one column to the table. It just wouldn't run. But the CLI download would.
/ comments
Yes. I have inherited a codebase and the upgrade database script runs this.
powershell flyway -outOfOrder="true" migrate -url=jdbc:postgresql://${host}:${port}/${database} -locations=filesystem:./$...
Does anyone else's Community CLI not work?
Hello,I installed Flyway Community to get access to the Flyway CLI so I can run "flyway migrate".I found in our current project's setup (it runs "flyway migrate" without any config files), this was...