\ますたー/ \ますたー/
Merged tootsuite/mastodon at 6a65d87f4dff317b37632fbe0a42027f606fd55c.
-- create_table(:account_stats)
== 20181116165755 CreateAccountStats: migrated (0.1038s) ======================
-- select_one("SELECT current_setting('server_version_num') AS v")
-- Upsert is available, importing counters using the fast method
-- execute("INSERT INTO account_stats (account_id, statuses_count, following_count, followers_count, created_at, updated_at) SELECT id, statuses_count, following_count, followers_count, created_at, updated_at FROM accounts WHERE id IN (1, 2, …
:
== 20181116173541 CopyAccountStats: migrated (6.0708s) ========================
-- remove_column(:accounts, :statuses_count, :integer, {:default=>0, :null=>false})
-- remove_column(:accounts, :following_count, :integer, {:default=>0, :null=>false})
-- remove_column(:accounts, :followers_count, :integer, {:default=>0, :null=>false})
== 20181116184611 CopyAccountStatsCleanup: migrated (0.0539s) =================