-
Notifications
You must be signed in to change notification settings - Fork 221
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
Refactor db/utils #247
Comments
groovecoder
changed the title
Refactor db/utils into db/models/subscriber
Refactor db/utils
Aug 2, 2018
Okay, I'm changing this to just refactor It also drops 6 extra dependencies! 🎉 |
groovecoder
added a commit
that referenced
this issue
Aug 2, 2018
groovecoder
added a commit
that referenced
this issue
Aug 3, 2018
groovecoder
added a commit
that referenced
this issue
Aug 3, 2018
groovecoder
added a commit
that referenced
this issue
Aug 6, 2018
fix #247: refactor db/utils to db/db and just knex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that we’re down to a single DB table, I want to refactor the DB layer code. Most of
db/utils.js
is gone now, and the remaining functions are for theemail_hashes
table that we’re still using.Refactor
db/utils.js
anddb/models/emailhash.js
into a newdb/models/subscriber.js
model & table, clean up the knex migrations to match.The text was updated successfully, but these errors were encountered: