Project

General

Profile

Download (232 Bytes) Statistics
| Branch: | Tag: | Revision:
class DropDefaultTypeInTemplates < ActiveRecord::Migration[4.2]
def up
change_column :templates, :type, :string, :default => nil
end

def down
change_column :templates, :type, :string, :default => 'Template'
end
end
(381-381/405)