Sha256: 4c18adf631a20a438796cb85bb6b8d5592b6dc6a29f32d7d887682117b8c8ba4
Contents?: true
Size: 361 Bytes
Versions: 52
Compression:
Stored size: 361 Bytes
Contents
class AddDefaultsToType < ActiveRecord::Migration def self.up change_column :appsettings, :type, :string, :default => "Appsetting" change_column :mods, :type, :string, :default => "Mod" end def self.down change_column :appsettings, :type, :string, :default => nil change_column :mods, :type, :string, :default => nil end end
Version data entries
52 entries across 52 versions & 1 rubygems