mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
9 lines
238 B
Ruby
9 lines
238 B
Ruby
class ChangeCommentSubjectLimit < ActiveRecord::Migration[7.0]
|
|
def up
|
|
change_column :comments, :subject, :string, limit: 255
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration.new('Cannot reverse migration.')
|
|
end
|
|
end
|