Commit Graph
22 Commits
Author SHA1 Message Date
Joe Nelson d6e3526bff Use Text for textual data
Also upgrade Hasql
2014-12-06 17:42:20 -08:00
Joe Nelson 70d9641e35 WIP: More files converted to Hasql 2014-12-06 17:42:19 -08:00
Joe Nelson cb80dba234 WIP: converting app request handlers 2014-12-06 17:42:17 -08:00
Joe Nelson 7196fbc001 WIP: use postgresql-simple in pgstructure 2014-12-06 17:42:16 -08:00
Adam C. Baker 74855db87b declare required extensions
and remove default extension pragmas (OverloadedStrings)
2014-11-05 00:32:10 -08:00
Joe Nelson cc2c65a9ab Build escaped queries in the app itself
universally replace String with Text
2014-11-03 23:30:04 -08:00
Joe Nelson 37c0a2d831 All tests passing, none pending
Standardize the order of enum value lists
2014-10-14 15:03:07 -07:00
Adam C. Baker ef6b38ea1e reformat raw sql for readability 2014-10-09 14:11:35 -07:00
Adam C. Baker ea17642f08 Better error for mkColumn 2014-10-09 14:11:21 -07:00
Adam C. Baker 5dd3f9c79a Merge branch 'fk'
Conflicts:
	src/PgStructure.hs
	test/Feature/StructureSpec.hs
	test/fixtures/schema.sql
2014-10-09 12:30:39 -07:00
Joe Nelson ecff987f31 Include "enum" field in column details 2014-10-08 16:51:42 -07:00
Adam C. Baker ee02a98cf2 emit references for columns with foreign keys 2014-10-08 16:38:12 -07:00
Adam C. Baker f0e8d23dd2 getting foreign key data with a column. 2014-10-08 15:20:26 -07:00
Adam C. Baker 59f9855362 return a map of foreign keys 2014-10-08 15:20:26 -07:00
Adam C. Baker d16ecdc28f data/procedure for foreign key 2014-10-08 15:20:26 -07:00
Joe Nelson 496e8421a9 Provide column default values in OPTIONS
Fixes #43
2014-10-07 11:56:54 -07:00
Joe Nelson 631f651f44 List table columns as array, not hash 2014-09-29 11:40:20 -07:00
Adam C. Baker a93065a887 specify schema as a string everywhere in the app.
This will make it easier to support semantic API versioning,
and makes code reuse easier right now.
2014-09-26 12:51:36 -07:00
Joe Nelson 74e16abaa1 Alphabetize table names in "/" to make test pass reproducibly 2014-09-01 21:06:45 -07:00
Joe Nelson 780c9d7c0f Include location header in post response 2014-08-25 11:31:27 -07:00
Joe Nelson d25da99f10 Use integers for schemas in insert 2014-08-14 10:03:07 -07:00
Joe Nelson 6391c73184 Move sources into src 2014-08-10 13:13:32 -07:00