Datenbank-Migrationen und Git Flow

@pfaffman, I do not modify Discourse.

I do not wish to manually apply changes via the administration panel both on the production and the staging servers, but to use migrations for it.

Example use-case: I need to modify contents of the default email templates.

Here is the preferred flow:

  • Write the migration to update texts.
  • Commit and push changes.
  • Deploy the forum to the staging server.
  • Make sure everything works properly.
  • Deploy the forum to the production server.