Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ kubectl logs web-deployment-1144607824-m9n2b
- [INFO] [11/15/2016 12:33:47.803] [default-akka.actor.default-dispatcher-5] [Main$(akka://default)] Server started on port 9050
- 12:33:49 INFO VersionPrinter {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Flyway 4.0.3 by Boxfuse
- 12:33:49 INFO DbSupportFactory {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Database: jdbc:postgresql://postgres-test.crr8yowtsgxt.eu-central-1.rds.amazonaws.com/postgres (PostgreSQL 9.5)
- 12:33:49 DEBUG Flyway {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - DDL Transactions Supported: true
- 12:33:49 DEBUG Flyway {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Schema: public
- 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Spring Jdbc available: false
- 12:33:49 DEBUG SqlScriptFlywayCallback {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for SQL callbacks ...
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for classpath resources at 'classpath:db/migration' (Prefix: '', Suffix: '.sql')
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Determining location urls for classpath:db/migration using ClassLoader sun.misc.Launcher$AppClassLoader@7f31245a ...
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning URL: jar:file:/app/service-go-cardless-api-server-assembly-1.0-SNAPSHOT.jar!/db/migration
- 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - JBoss VFS v2 available: false
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/ (filename: )
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V1__Create_customers.sql
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V2__Create_bank_accounts.sql
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V3__Create_mandates.sql
- 12:33:49 DEBUG DbValidate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Validating migrations ...
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for classpath resources at 'classpath:db/migration' (Prefix: 'V', Suffix: '.sql')
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning URL: jar:file:/app/service-go-cardless-api-server-assembly-1.0-SNAPSHOT.jar!/db/migration
- 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - JBoss VFS v2 available: false
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/ (filename: )
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V1__Create_customers.sql
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V2__Create_bank_accounts.sql
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found resource: db/migration/V3__Create_mandates.sql
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for classpath resources at 'classpath:db/migration' (Prefix: 'R', Suffix: '.sql')
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning URL: jar:file:/app/service-go-cardless-api-server-assembly-1.0-SNAPSHOT.jar!/db/migration
- 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - JBoss VFS v2 available: false
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/ (filename: )
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V1__Create_customers.sql (filename: V1__Create_customers.sql)
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V2__Create_bank_accounts.sql (filename: V2__Create_bank_accounts.sql)
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V3__Create_mandates.sql (filename: V3__Create_mandates.sql)
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning for classes at 'classpath:db/migration' (Implementing: 'org.flywaydb.core.api.migration.jdbc.JdbcMigration')
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Scanning URL: jar:file:/app/service-go-cardless-api-server-assembly-1.0-SNAPSHOT.jar!/db/migration
- 12:33:49 DEBUG FeatureDetector {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - JBoss VFS v2 available: false
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/ (filename: )
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V1__Create_customers.sql (filename: V1__Create_customers.sql)
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V2__Create_bank_accounts.sql (filename: V2__Create_bank_accounts.sql)
- 12:33:49 DEBUG ClassPathScanner {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Filtering out resource: db/migration/V3__Create_mandates.sql (filename: V3__Create_mandates.sql)
- 12:33:49 INFO DbValidate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Successfully validated 3 migrations (execution time 00:00.072s)
- 12:33:49 DEBUG DbSchemas {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Schema "public" already exists. Skipping schema creation.
- 12:33:49 INFO MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Creating Metadata table: "public"."schema_version"
- 12:33:49 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 17: CREATE TABLE "public"."schema_version" (
- "installed_rank" INT NOT NULL,
- "version" VARCHAR(50),
- "description" VARCHAR(200) NOT NULL,
- "type" VARCHAR(20) NOT NULL,
- "script" VARCHAR(1000) NOT NULL,
- "checksum" INTEGER,
- "installed_by" VARCHAR(100) NOT NULL,
- "installed_on" TIMESTAMP NOT NULL DEFAULT now(),
- "execution_time" INTEGER NOT NULL,
- "success" BOOLEAN NOT NULL
- ) WITH (
- OIDS=FALSE
- )
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 31: ALTER TABLE "public"."schema_version" ADD CONSTRAINT "schema_version_pk" PRIMARY KEY ("installed_rank")
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 33: CREATE INDEX "schema_version_s_idx" ON "public"."schema_version" ("success")
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE TABLE "public"."schema_version" (
- "installed_rank" INT NOT NULL,
- "version" VARCHAR(50),
- "description" VARCHAR(200) NOT NULL,
- "type" VARCHAR(20) NOT NULL,
- "script" VARCHAR(1000) NOT NULL,
- "checksum" INTEGER,
- "installed_by" VARCHAR(100) NOT NULL,
- "installed_on" TIMESTAMP NOT NULL DEFAULT now(),
- "execution_time" INTEGER NOT NULL,
- "success" BOOLEAN NOT NULL
- ) WITH (
- OIDS=FALSE
- )
- 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: ALTER TABLE "public"."schema_version" ADD CONSTRAINT "schema_version_pk" PRIMARY KEY ("installed_rank")
- 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE INDEX "schema_version_s_idx" ON "public"."schema_version" ("success")
- 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
- 12:33:50 DEBUG MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Metadata table "public"."schema_version" created.
- 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Locking table "public"."schema_version"...
- 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Lock acquired for table "public"."schema_version"
- 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Current version of schema "public": << Empty Schema >>
- 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Migrating schema "public" to version 1 - Create customers
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 1: CREATE TABLE "customers" (
- "id" BIGSERIAL PRIMARY KEY,
- "salesforce_id" VARCHAR(40) NOT NULL,
- "gocardless_id" VARCHAR(40) NOT NULL
- )
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE TABLE "customers" (
- "id" BIGSERIAL PRIMARY KEY,
- "salesforce_id" VARCHAR(40) NOT NULL,
- "gocardless_id" VARCHAR(40) NOT NULL
- )
- 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
- 12:33:50 DEBUG DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Successfully completed migration of schema "public" to version 1 - Create customers
- 12:33:50 DEBUG MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - MetaData table "public"."schema_version" successfully updated to reflect changes
- 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Locking table "public"."schema_version"...
- 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Lock acquired for table "public"."schema_version"
- 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Migrating schema "public" to version 2 - Create bank accounts
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 1: CREATE TABLE "bank_accounts" (
- "id" BIGSERIAL PRIMARY KEY,
- "customer_id" BIGSERIAL NOT NULL REFERENCES customers(id),
- "gocardless_id" VARCHAR(40) NOT NULL,
- "enabled" BOOLEAN NOT NULL
- )
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE TABLE "bank_accounts" (
- "id" BIGSERIAL PRIMARY KEY,
- "customer_id" BIGSERIAL NOT NULL REFERENCES customers(id),
- "gocardless_id" VARCHAR(40) NOT NULL,
- "enabled" BOOLEAN NOT NULL
- )
- 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
- 12:33:50 DEBUG DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Successfully completed migration of schema "public" to version 2 - Create bank accounts
- 12:33:50 DEBUG MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - MetaData table "public"."schema_version" successfully updated to reflect changes
- 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Locking table "public"."schema_version"...
- 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Lock acquired for table "public"."schema_version"
- 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Migrating schema "public" to version 3 - Create mandates
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Found statement at line 1: CREATE TABLE "mandates" (
- "id" BIGSERIAL PRIMARY KEY,
- "bankaccount_id" BIGSERIAL NOT NULL REFERENCES bank_accounts(id),
- "scheme" VARCHAR(30) NOT NULL,
- "gocardless_id" VARCHAR(40) NOT NULL,
- "reference" VARCHAR(60) NOT NULL,
- "status" VARCHAR(60) NOT NULL
- )
- 12:33:50 DEBUG SqlScript {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Executing SQL: CREATE TABLE "mandates" (
- "id" BIGSERIAL PRIMARY KEY,
- "bankaccount_id" BIGSERIAL NOT NULL REFERENCES bank_accounts(id),
- "scheme" VARCHAR(30) NOT NULL,
- "gocardless_id" VARCHAR(40) NOT NULL,
- "reference" VARCHAR(60) NOT NULL,
- "status" VARCHAR(60) NOT NULL
- )
- 12:33:50 DEBUG JdbcTemplate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Update Count: 0
- 12:33:50 DEBUG DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Successfully completed migration of schema "public" to version 3 - Create mandates
- 12:33:50 DEBUG MetaDataTableImpl {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - MetaData table "public"."schema_version" successfully updated to reflect changes
- 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Locking table "public"."schema_version"...
- 12:33:50 DEBUG Table {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog debug} - Lock acquired for table "public"."schema_version"
- 12:33:50 INFO DbMigrate {org.flywaydb.core.internal.util.logging.slf4j.Slf4jLog info} - Successfully applied 3 migrations to schema "public" (execution time 00:00.613s).
- [INFO] [11/15/2016 12:33:50.596] [main] [Main$(akka://default)] Database is up to date
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement