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:
David Taylor
2019-04-23 12:34:32 +01:00
parent a7bc1ecbae
commit a2ddb6cf2d
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class IncreaseThemeFieldNameLength < ActiveRecord::Migration[5.2]
def change
change_column :theme_fields, :name, :string, limit: 255
end
end