From f9422359caaeb73ee033b0df5477d857cdac996c Mon Sep 17 00:00:00 2001 From: "robin.bygrave" Date: Thu, 2 Nov 2023 17:52:15 +1300 Subject: [PATCH] Change the column order only for create table --- .../main/resources/migration-support/default-create-table.sql | 4 ++-- .../resources/migration-support/sqlserver-create-table.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ebean-migration/src/main/resources/migration-support/default-create-table.sql b/ebean-migration/src/main/resources/migration-support/default-create-table.sql index edf355a..d71224e 100644 --- a/ebean-migration/src/main/resources/migration-support/default-create-table.sql +++ b/ebean-migration/src/main/resources/migration-support/default-create-table.sql @@ -1,10 +1,10 @@ create table ${table} ( id integer not null, + mchecksum integer not null, mtype varchar(1) not null, - mstatus varchar(10) not null, mversion varchar(150) not null, mcomment varchar(150) not null, - mchecksum integer not null, + mstatus varchar(10) not null, run_on timestamp not null, run_by varchar(30) not null, run_time integer not null, diff --git a/ebean-migration/src/main/resources/migration-support/sqlserver-create-table.sql b/ebean-migration/src/main/resources/migration-support/sqlserver-create-table.sql index 80b9d7c..752e74c 100644 --- a/ebean-migration/src/main/resources/migration-support/sqlserver-create-table.sql +++ b/ebean-migration/src/main/resources/migration-support/sqlserver-create-table.sql @@ -1,10 +1,10 @@ create table ${table} ( id integer not null, + mchecksum integer not null, mtype varchar(1) not null, - mstatus varchar(10) not null, mversion varchar(150) not null, mcomment varchar(150) not null, - mchecksum integer not null, + mstatus varchar(10) not null, run_on datetime2 not null, run_by varchar(30) not null, run_time integer not null,