Skip to content

Commit

Permalink
Merge pull request #385 from jogrimst/master
Browse files Browse the repository at this point in the history
#270 Differentiate between upper-case and lower-case when adding X-SAMPA value of Allophones
  • Loading branch information
literacyapp authored May 6, 2017
2 parents 37a77ce + 2a07155 commit 549d1bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/literacyapp/model/DbMigration.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class DbMigration extends BaseEntity {
private Integer version; // 1001001, 1001002, 1001003, ... (1.1.1, 1.1.2, 1.1.3, ...)

@NotNull
@Column(length = 2000)
@Column(length = 10000)
private String script; // SQL script copied from file in src/main/resources/db/migration/<version>.sql

@NotNull
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/db/migration/1001089.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 1.1.89

ALTER TABLE DbMigration MODIFY script VARCHAR(10000) NOT NULL;

ALTER TABLE Allophone CONVERT TO CHARACTER SET utf8 COLLATE utf8_danish_ci;
ALTER TABLE Application CONVERT TO CHARACTER SET utf8 COLLATE utf8_danish_ci;
ALTER TABLE ApplicationVersion CONVERT TO CHARACTER SET utf8 COLLATE utf8_danish_ci;
Expand Down

0 comments on commit 549d1bd

Please sign in to comment.