packages feed

persistent-mysql 2.13.1.2 → 2.13.1.3

raw patch · 4 files changed

+11/−2 lines, 4 files

Files

ChangeLog.md view
@@ -1,5 +1,11 @@ # Changelog for persistent-mysql +##  2.13.1.3++* [#1372](https://github.com/yesodweb/persistent/pull/1372)+    * Fix migrations which add a new column in `persistent-mysql` ([#1373](https://github.com/yesodweb/persistent/issues/1373))+    * Include MigrationTest in `persistent-mysql` tests+ ##  2.13.1.2  * [#1367](https://github.com/yesodweb/persistent/pull/1367),
Database/Persist/MySQL.hs view
@@ -921,7 +921,7 @@     -- new fkey that didn't exist before         [] ->             case ref of-                Nothing -> ([Add' col],[])+                Nothing -> ([Add' col],cols)                 Just cr ->                     let tname = crTableName cr                         cname = crConstraintName cr
persistent-mysql.cabal view
@@ -1,5 +1,5 @@ name:            persistent-mysql-version:         2.13.1.2+version:         2.13.1.3 license:         MIT license-file:    LICENSE author:          Felipe Lessa <felipe.lessa@gmail.com>, Michael Snoyman
test/main.hs view
@@ -41,6 +41,7 @@ import qualified MigrationColumnLengthTest import qualified MigrationIdempotencyTest import qualified MigrationOnlyTest+import qualified MigrationTest import qualified MpsCustomPrefixTest import qualified MpsNoPrefixTest import qualified PersistUniqueTest@@ -135,6 +136,7 @@             , CustomPersistFieldTest.customFieldMigrate             , InsertDuplicateUpdate.duplicateMigrate             , MigrationIdempotencyTest.migration+            , MigrationTest.migrationMigrate             , CustomPrimaryKeyReferenceTest.migration             , MigrationColumnLengthTest.migration             , TransactionLevelTest.migration@@ -209,6 +211,7 @@         TransactionLevelTest.specsWith db          MigrationIdempotencyTest.specsWith db+        MigrationTest.specsWith db         CustomConstraintTest.specs db         -- TODO: implement automatic truncation for too long foreign keys, so we can run this test.         xdescribe "The migration for this test currently fails because of MySQL's 64 character limit for identifiers. See https://github.com/yesodweb/persistent/issues/1000 for details" $