mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix column limits
Has set a limit of 0, which makes little sense...
This commit is contained in:
parent
299250a574
commit
928e590a47
2 changed files with 11 additions and 2 deletions
|
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue