discourse/db/migrate/20210513125608_remove_lengt...

12 lines
246 B
Ruby

# frozen_string_literal: true
class RemoveLengthConstrainFromTopicExcerpt < ActiveRecord::Migration[6.1]
def up
change_column :topics, :excerpt, :string, null: true
end
def down
raise ActiveRecord::IrreversibleMigration
end
end