Class: CreateUserTokens
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateUserTokens
- Defined in:
- lib/db/migrate/20101103152700_create_user_tokens.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
10 11 12 |
# File 'lib/db/migrate/20101103152700_create_user_tokens.rb', line 10 def self.down drop_table :user_tokens end |
.up ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/db/migrate/20101103152700_create_user_tokens.rb', line 2 def self.up create_table :user_tokens do |t| t.string :token t. end end |