Boris Lykah | 10 Oct 15:32 2012
Picon

ANN: Groundhog 0.2 - now with database index support

I am excited to announce a new release of Groundhog 0.2 - a library
for high-level database access.

* http://hackage.haskell.org/package/groundhog
* http://hackage.haskell.org/package/groundhog-th
* http://hackage.haskell.org/package/groundhog-postgresql
* http://hackage.haskell.org/package/groundhog-sqlite
* http://github.com/lykahb/groundhog

Since the last release I got a lot of positive feedback which showed
that many people are interested in the project. I want to thank them
for their encouragement and constructive suggestions that helped me to
adjust the development priorities. To help keeping track of the
Groundhog project development, the most important changes of a release
are now logged to the HISTORY files in repository.

Along with many small improvements and refactorings, this major
release has two novel features:

* Support for database unique indexes. Now the unique keys can be
created with either constraints or indexes. In the API the difference
affects only the code generation settings which have a new field
* Customizing column type name for schema migration. This contributes
to compatibility with already existing databases and allows
utilization of the database-specific features like limiting string
size or number precision. See example at
https://github.com/lykahb/groundhog/blob/master/examples/dbSpecificTypes.hs

Package groundhog-th has improved error reporting. Now it precisely
reports the line and position where parsing of the YAML-based settings
(Continue reading)


Gmane