Sha256: 95f49ed38f8117b414c1eed854b7147199e99cce4381e6729f17aa1d271c7ce6

Contents?: true

Size: 225 Bytes

Versions: 66

Compression:

Stored size: 225 Bytes

Contents

class CreateAccount < ActiveRecord::Migration
  def self.up
    create_table :accounts do |t|
      t.integer :user_id
      t.string :role
      t.timestamps
    end
  end

  def self.down
    drop_table :accounts
  end
end

Version data entries

66 entries across 22 versions & 1 rubygems

Version Path
cantango-0.9.4 spec/active_record/migrations/005_create_account.rb
cantango-0.9.3.2 spec/devise-dummy/db/migrate/005_create_account.rb
cantango-0.9.3.2 spec/dummy/db/migrate/005_create_account.rb
cantango-0.9.3.2 spec/active_record/migrations/005_create_account.rb
cantango-0.8.9.5 spec/devise-dummy/db/migrate/005_create_account.rb
cantango-0.8.9.5 spec/dummy/db/migrate/005_create_account.rb
cantango-0.8.9.5 spec/active_record/migrations/005_create_account.rb
cantango-0.8.9.4 spec/devise-dummy/db/migrate/005_create_account.rb
cantango-0.8.9.4 spec/dummy/db/migrate/005_create_account.rb
cantango-0.8.9.4 spec/active_record/migrations/005_create_account.rb
cantango-0.8.9.3 spec/active_record/migrations/005_create_account.rb
cantango-0.8.9.3 spec/devise-dummy/db/migrate/005_create_account.rb
cantango-0.8.9.3 spec/dummy/db/migrate/005_create_account.rb
cantango-0.8.9.2 spec/dummy/db/migrate/005_create_account.rb
cantango-0.8.9.2 spec/devise-dummy/db/migrate/005_create_account.rb
cantango-0.8.9.2 spec/active_record/migrations/005_create_account.rb
cantango-0.8.9.1 spec/active_record/migrations/005_create_account.rb
cantango-0.8.9.1 spec/dummy/db/migrate/005_create_account.rb
cantango-0.8.9.1 spec/devise-dummy/db/migrate/005_create_account.rb
cantango-0.8.9 spec/devise-dummy/db/migrate/005_create_account.rb