Fix ruby lint

This commit is contained in:
KMY 2023-02-24 17:53:12 +09:00
parent df6de7daf5
commit f157a509d6
6 changed files with 52 additions and 65 deletions

View file

@ -1,13 +1,13 @@
class CreateEmojiReactions < ActiveRecord::Migration[6.1]
def change
create_table :emoji_reactions do |t|
t.belongs_to :account, null: false, foreign_key: { on_delete: :cascade }, index: false
t.belongs_to :account, null: false, foreign_key: { on_delete: :cascade }
t.belongs_to :status, null: false, foreign_key: { on_delete: :cascade }
t.string :name, null: false, default: ''
t.belongs_to :custom_emoji, foreign_key: { on_delete: :cascade }, index: false
t.belongs_to :custom_emoji, foreign_key: { on_delete: :cascade }
t.string :uri
t.datetime :created_at, null: false
t.datetime :updated_at, null: false
end
end
end