about summary refs log tree commit diff
path: root/db/migrate/20190627222225_create_custom_emoji_categories.rb
blob: 4713793e660568c8301d042755a5dfd03ef62b40 (plain) (blame)
1
2
3
4
5
6
7
8
9
class CreateCustomEmojiCategories < ActiveRecord::Migration[5.2]
  def change
    create_table :custom_emoji_categories do |t|
      t.string :name, index: { unique: true }

      t.timestamps
    end
  end
end