Commit Graph

3 Commits (793b0513eb14c08443e11202b3ffbee141e33df7)

Author SHA1 Message Date
Eugen Rochko d6b9a62e0a
Extract counters from accounts table to account_stats table ()
Eugen Rochko 8e111b753a
Move status counters to separate table, count replies ()
* Move status counters to separate table, count replies

* Migration to remove old counter columns from statuses table

* Fix schema file
Eugen Rochko 018a9e4e7f
Add post-deployment migration system ()
Adopted from GitLab CE. Generate new migration with:

    rails g post_deployment_migration name_of_migration_here

By default they are run together with db:migrate. To not run them,
the env variable SKIP_POST_DEPLOYMENT_MIGRATIONS must be set

Code by Yorick Peterse <yorickpeterse@gmail.com>, see also:

83c8241160