diff --git a/build.gradle b/build.gradle index 651595f09b..39759b81ba 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ apply plugin: 'io.spring.dependency-management' group = 'run.halo.app' archivesBaseName = 'halo' -version = '1.2.0-beta.2' +version = '1.2.0-beta.3' sourceCompatibility = '1.8' description = 'Halo, personal blog system developed in Java.' diff --git a/src/main/resources/migration/V2__migrate_1.2.0-beta.1_to_1.2.0-beta.2.sql b/src/main/resources/migration/V2__migrate_1.2.0-beta.1_to_1.2.0-beta.2.sql index 888b9d6c47..529bc50eb0 100644 --- a/src/main/resources/migration/V2__migrate_1.2.0-beta.1_to_1.2.0-beta.2.sql +++ b/src/main/resources/migration/V2__migrate_1.2.0-beta.1_to_1.2.0-beta.2.sql @@ -2,5 +2,5 @@ -- Migrate journals Table alter table journals modify content text not null; - +alter table journals add source_content varchar(1023) default '' not null; update journals set `source_content`=`content` \ No newline at end of file