Project

General

Profile

Defect #3010 ยป 20090318181151_extend_settings_name.rb

Migration to extend the Settings table - Eric Davis, 2009-03-19 01:04

 
1
class ExtendSettingsName < ActiveRecord::Migration
2
  def self.up
3
    change_column :settings, :name, :string, :limit => 255, :default => '', :null => false
4
  end
5

    
6
  def self.down
7
    raise ActiveRecord::IrreversibleMigration
8
  end
9
end
    (1-1/1)