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