Sha256: fcf1cc9c8e232e39bbaea1c20463e8551fe2417cddf9a4b14037af6b3709cd85

Contents?: true

Size: 243 Bytes

Versions: 3

Compression:

Stored size: 243 Bytes

Contents

class CreateBitMany < ActiveRecord::Migration
  def self.up
    # down
    
    create_table :users do |t|
      t.string  :name
      t.integer :troles
      t.timestamps
    end
  end
  
  def self.down  
    drop_table :users
  end
end
    

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
troles-0.5.2 spec/active_record/migrations/many/bit_many.rb
troles-0.5.1 spec/active_record/migrations/many/bit_many.rb
troles-0.5.0 spec/active_record/migrations/many/bit_many.rb