class CreateRoles < ActiveRecord::Migration[6.0]
  def change
    create_table :roles, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t|
      t.string :name
      t.text :permissions
      t.integer :position

      t.timestamps
    end
  end
end
