Class: ExpandCredPtypeColumn
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- ExpandCredPtypeColumn
- Defined in:
- db/migrate/20110727163801_expand_cred_ptype_column.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
5 6 7 |
# File 'db/migrate/20110727163801_expand_cred_ptype_column.rb', line 5 def self.down change_column :creds, :ptype, :string, :limit => 16 end |
.up ⇒ Object
2 3 4 |
# File 'db/migrate/20110727163801_expand_cred_ptype_column.rb', line 2 def self.up change_column :creds, :ptype, :string, :limit => 256 end |