Class: CreateBoGitwordStaff
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateBoGitwordStaff
- Defined in:
- lib/generators/bo_gitword/templates/migration.rb
Overview
- CURRENT FILE
-
lib/generators/team_page/templates/migration.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
12 13 14 |
# File 'lib/generators/bo_gitword/templates/migration.rb', line 12 def self.down drop_table :bo_gitword_staff end |
.up ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/generators/bo_gitword/templates/migration.rb', line 3 def self.up create_table :bo_gitword_staffs do |t| t.string :login t.string :cw_id t.integer :status t. end end |