mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-25 08:24:09 +01:00
11 lines
291 B
Ruby
11 lines
291 B
Ruby
class CreateEmojiReactions < ActiveRecord::Migration[6.1]
|
|
def change
|
|
create_table :emoji_reactions do |t|
|
|
t.string :emoji
|
|
t.references :status, null: false, foreign_key: true
|
|
t.references :account, null: false, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|