-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add schema support to Persistent (issue #93) #1561
Open
curranosaurus
wants to merge
74
commits into
yesodweb:master
Choose a base branch
from
curranosaurus:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 67 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
f2f39a2
add new field and refactor away from entityDB
curranosaurus 08a50bd
Merge pull request #1 from curranosaurus/curran/int-843
curranosaurus 9c09206
add new field to construction
curranosaurus 79eaa20
Merge branch 'master' of github.com:curranosaurus/persistent
curranosaurus 1700101
prepend schema to entity db name
curranosaurus 540c1b8
Merge pull request #2 from curranosaurus/curran/int-844
curranosaurus e07cae1
add schema test
curranosaurus 6fea10e
remove redundant quotation marks
curranosaurus eb49123
revert
curranosaurus e0a7d27
create newtype for schema name
curranosaurus ea96742
add setters and getters
curranosaurus 685f2cf
Merge pull request #3 from curranosaurus/curran/revert-change-to-getE…
curranosaurus 009f7ab
Merge pull request #5 from curranosaurus/curran/create-setters-and-ge…
curranosaurus 27e4ee7
suffix with DB
curranosaurus 0c64924
Merge branch 'curran/update-entitySchema-to-its-own-newtype' of githu…
curranosaurus ab479e6
save wip
curranosaurus 6048242
save wip
curranosaurus 607bd67
Merge pull request #4 from curranosaurus/curran/update-entitySchema-t…
curranosaurus b079be2
add schema lookups to foreign key lookup
curranosaurus ce4eb39
add schema to information_schema query
curranosaurus 1f8940d
change decisions about how to handle the public schema
curranosaurus 4b37e1e
delete accidental hardcoding of foo schema
curranosaurus 91f56b4
update migrater
curranosaurus 799b58d
update sqlQQ test to consider a case with a schema
curranosaurus 62ed272
strengthen test
curranosaurus 320a9c1
Merge pull request #8 from curranosaurus/curran/update-sqlqq-to-injec…
curranosaurus b96c415
Merge pull request #7 from curranosaurus/curran/use-schema-in-postgre…
curranosaurus 8fe5757
Merge pull request #6 from curranosaurus/curran/use-schema-in-postgre…
curranosaurus 170450b
add schema to sqlite expressions
curranosaurus 1ec4ca7
add schema test
curranosaurus 309ce8b
set up migrations and queries for sqlite, improve test
curranosaurus 5d0b4f0
include schema in qq parse
benjonesy e48552b
include schema name in foreign def
benjonesy 6194a91
update quasi haddock
benjonesy b04da52
additional foreign schema test
benjonesy f3a0aa2
fix tests and migration code
curranosaurus d57084f
defer foreign reference schema definitions to TH
benjonesy 3c3ca7b
Merge branch 'benj/include-schema-in-qq-parse' of github.com:curranos…
curranosaurus d098daa
add comment explaining limitation
curranosaurus ed1642b
remove TODO
curranosaurus 708c0ed
consider the multi-db case
curranosaurus 12eb34c
reverse a spot where we can't inject dot-qualified names
curranosaurus 649c395
make test stronger
curranosaurus e4a0f27
Merge pull request #9 from curranosaurus/benj/include-schema-in-qq-parse
benjonesy 6be1d6d
iterate tests and implementation
curranosaurus 35c572d
Merge branch 'curran/sqlite-queries-use-schema' of github.com:currano…
curranosaurus b498d2a
Merge pull request #11 from curranosaurus/curran/second-pass-at-postgres
curranosaurus d0929f0
wip
benjonesy acef90f
wip
benjonesy 096b82d
Merge branch 'master' into benj/mysql-schema-support
curranosaurus 8a392d7
add test case, update mysql tests
curranosaurus 2c70da8
fix migration test
curranosaurus a7dde4e
add schema to getColumn
curranosaurus c1570da
remove redundant import
curranosaurus 6d1f9dd
Merge pull request #12 from curranosaurus/curran/mysql-schema-support
curranosaurus c0307bb
stop creating schema in postgres
curranosaurus 4ea66ea
bump library version and document new api
curranosaurus cfafec6
bump persistent-mysql versions and add haddocks
curranosaurus 1b068ae
bump versions in postgresql project
curranosaurus 3bd72fd
bump version of sqlite package
curranosaurus 8b6b752
bump persistent-test version
curranosaurus 7f990da
add more haddock comments
curranosaurus 65969ce
undo redundant change
curranosaurus a6598f3
update changelogs
curranosaurus e8c00d5
add more doc comments
curranosaurus 755b9d2
run stylish-haskell
curranosaurus 98b49bc
bump persistent-qq version
curranosaurus 7bf74fc
account for null referenced schema name possibility
curranosaurus 916cc4a
document a tricky use of a table-valued pragma
curranosaurus 035075a
update postgres readme
curranosaurus a4e8af3
fix persistent-qq tests
curranosaurus e7efb53
use lowercase schema name
curranosaurus 9b1aae0
add schema to checkForeignKeys query
curranosaurus 896edc2
throw error if there is a cross-schema reference
curranosaurus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imports sorted by
stylish-haskell
.