persistent

Type-safe, multi-backend data serialization.

http://www.yesodweb.com/book/persistent

Version on this page:2.1.6@rev:1
LTS Haskell 22.17:2.14.6.1
Stackage Nightly 2024-04-19:2.14.6.1
Latest on Hackage:2.14.6.1

See all snapshots persistent appears in

MIT licensed by Michael Snoyman
This version can be pinned in stack with:persistent-2.1.6@sha256:a692679eeb7ee7ea3772fc1a57d47a6a4be71412478d6361ed9e5a9ec79388f6,4566

persistent

Type-safe, data serialization. You must use a specific backend in order to make this useful. For more information, see the chapter in the Yesod book.

Changes

2.1.6

Important! If persistent-template is not upgraded to 2.1.3.3 you might need to make sure Int64 is in scope for your model declarations.

  • add showMigration function
  • explicitly use Int64 for foreign key references

2.1.5

Add dbIdColumnsEsc to Sql.Utils. Used in persistent-postgresql 2.1.5.2

2.1.4

  • Fix getBy with a primary key. #342

2.1.3

  • Break self-referencing cycles in the entity declarations

2.1.2

  • Error with Doubles without a decimal part #378
  • runSqlPool does not perform timeout checks.

2.1.1.6

  • One extra feature for #939: use logDebugN instead

2.1.1.5

2.1.1.3

Parse UTCTime in 8601 format #339

2.1.1.1

Support for monad-control 1.0