Skip to content

Switch to SQLite for the Absinthe Tutorial#7

Open
kevinastone wants to merge 2 commits intoabsinthe-graphql:masterfrom
kevinastone:sqlite
Open

Switch to SQLite for the Absinthe Tutorial#7
kevinastone wants to merge 2 commits intoabsinthe-graphql:masterfrom
kevinastone:sqlite

Conversation

@kevinastone
Copy link
Copy Markdown

Moving from Postgres to SQLite removes a system dependency and allows
one to setup a working environment faster.

Moving from Postgres to SQLite removes a system dependency and allows
one to setup a working environment faster.
@kevinastone
Copy link
Copy Markdown
Author

Hmm, there's hard-coded postgresql in the tutorial:

https://github.com/kevinastone/absinthe_tutorial/blob/master/lib/blog/content/content.ex#L9

@kevinastone
Copy link
Copy Markdown
Author

Updated the where clause to just use date(published_at) == $date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant