mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 03:25:34 +08:00
DEV: Increase max length of theme_field name column
Now that we have custom SCSS files with arbitrary names, it's easy to exceed 30 characters
This commit is contained in:
parent
a7bc1ecbae
commit
a2ddb6cf2d
@ -471,7 +471,7 @@ end
|
|||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# theme_id :integer not null
|
# theme_id :integer not null
|
||||||
# target_id :integer not null
|
# target_id :integer not null
|
||||||
# name :string(30) not null
|
# name :string(255) not null
|
||||||
# value :text not null
|
# value :text not null
|
||||||
# value_baked :text
|
# value_baked :text
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
class IncreaseThemeFieldNameLength < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
change_column :theme_fields, :name, :string, limit: 255
|
||||||
|
end
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user