about summary refs log tree commit diff
path: root/db/schema.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/schema.rb b/db/schema.rb
index fb280b54f..6346c6804 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -714,8 +714,8 @@ ActiveRecord::Schema.define(version: 2020_08_01_210543) do
   create_table "publishing_delays", force: :cascade do |t|
     t.bigint "status_id", null: false
     t.datetime "after"
-    t.bigint "accounts_id", null: false
-    t.index ["accounts_id"], name: "index_publishing_delays_on_accounts_id"
+    t.bigint "account_id", null: false
+    t.index ["account_id"], name: "index_publishing_delays_on_account_id"
     t.index ["after"], name: "index_publishing_delays_on_after"
     t.index ["status_id"], name: "index_publishing_delays_on_status_id"
   end
@@ -1079,7 +1079,7 @@ ActiveRecord::Schema.define(version: 2020_08_01_210543) do
   add_foreign_key "poll_votes", "polls", on_delete: :cascade
   add_foreign_key "polls", "accounts", on_delete: :cascade
   add_foreign_key "polls", "statuses", on_delete: :cascade
-  add_foreign_key "publishing_delays", "accounts", column: "accounts_id", on_delete: :cascade
+  add_foreign_key "publishing_delays", "accounts", on_delete: :cascade
   add_foreign_key "publishing_delays", "statuses", on_delete: :cascade
   add_foreign_key "queued_boosts", "accounts", on_delete: :cascade
   add_foreign_key "queued_boosts", "statuses", on_delete: :cascade