]> cat aescling's git repositories - mastodon.git/commitdiff
Fix wrong timestamp_id identifier for accounts table in schema.rb (#16048)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 16 Apr 2021 20:20:32 +0000 (22:20 +0200)
committerGitHub <noreply@github.com>
Fri, 16 Apr 2021 20:20:32 +0000 (22:20 +0200)
db/schema.rb

index 01aeb71533a118dac7ceb6e27c46ce5614fa9fdc..599cd873bf302f44951c7060744972cf82bf98fa 100644 (file)
@@ -142,7 +142,7 @@ ActiveRecord::Schema.define(version: 2021_03_24_171613) do
     t.index ["target_account_id"], name: "index_account_warnings_on_target_account_id"
   end
 
-  create_table "accounts", id: :bigint, default: -> { "timestamp_id('statuses'::text)" }, force: :cascade do |t|
+  create_table "accounts", id: :bigint, default: -> { "timestamp_id('accounts'::text)" }, force: :cascade do |t|
     t.string "username", default: "", null: false
     t.string "domain"
     t.string "secret", default: "", null: false