Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Database Migrations #7

Open
alexfinnarn opened this issue Jul 15, 2020 · 0 comments
Open

Database Migrations #7

alexfinnarn opened this issue Jul 15, 2020 · 0 comments

Comments

@alexfinnarn
Copy link
Contributor

I ended up changing "Title" to "Question" for the FAQ content type. Since the "Title" was created in the db as a required field, I now can't save a FAQ on my Heroku site. People have requested this feature, but it is a WIP, which isn't great...

As a workaround, you can use bootstrap.js to do whatever you want as the app boots. This seems like the best place to add schema migrations. The way Drupal does this isn't a bad idea, IMHO. There can be migrations table that...

Then I found out that Knex.js has schema migration functionality through Bookshelf.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant