This repository has been archived on 2023-07-01. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/db/migrate/20180118192721_create_glitc...

12 lines
296 B
Ruby

class CreateGlitchNotes < ActiveRecord::Migration[5.1]
def change
create_table :glitch_notes do |t|
t.bigint :target_id, null: false
t.string :target_type, null: false
t.text :note, null: false
t.index [:target_type, :target_id]
t.timestamps
end
end
end