Skip to content

Instantly share code, notes, and snippets.

View keomony's full-sized avatar

Keomony keomony

  • Kobalt
  • London, UK
  • 10:25 (UTC -12:00)
View GitHub Profile
> Configure project :
DGS CodeGen added [com.netflix.graphql.dgs.codegen:graphql-dgs-codegen-client-core:5.0.6] to the implementation dependencies.
> Task :flywayMigrate
Migration of schema `booksapi` to version "010 - RENAME PUBLISHER BOOK CONSTRAINTS" failed! Please restore backups and roll back database and code!
> Task :flywayMigrate FAILED
FAILURE: Build failed with an exception.
@keomony
keomony / gist:a9360dc1fb56b10e30364003e86bf422
Created August 30, 2021 12:37
Detected failed migration to version 010 (RENAME PUBLISHER BOOK CONSTRAINTS)
2021-08-30 13:00:29.032 INFO 15385 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 7.5.4 by Redgate
2021-08-30 13:00:29.037 INFO 15385 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-08-30 13:00:29.418 INFO 15385 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-08-30 13:00:29.449 INFO 15385 --- [ main] o.f.c.i.database.base.DatabaseType : Database: jdbc:mysql://localhost:3307/booksapi (MySQL 8.0)
2021-08-30 13:00:29.582 WARN 15385 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested
# npm install -g webpack
//Javascript module loader
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname, //source code directory
devtool: debug ? "inline-sourcemap" : null, //inline-sourcemap only in non-production
entry: "./js/scripts.js", //entry point