mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44: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
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2018_12_29_233813) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_11_21_114727) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ ActiveRecord::Schema[7.0].define(version: 2018_12_29_233813) do
|
|||
t.integer "user_id"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "subject"
|
||||
t.string "subject", limit: 255
|
||||
t.integer "parent_id"
|
||||
t.integer "lft"
|
||||
t.integer "rgt"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue