Class: CreateOthers
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateOthers
- Defined in:
- vendor/plugins/engines/test/plugins/test_migration/db/migrate/002_create_others.rb
Class Method Summary
Class Method Details
+ (Object) down
8 9 10 |
# File 'vendor/plugins/engines/test/plugins/test_migration/db/migrate/002_create_others.rb', line 8 def self.down drop_table 'others' end |
+ (Object) up
2 3 4 5 6 |
# File 'vendor/plugins/engines/test/plugins/test_migration/db/migrate/002_create_others.rb', line 2 def self.up create_table 'others' do |t| t.column 'name', :string end end |