Sha256: 80595fa47411ca207131d2058491e2a55f3ed325d1bbf24b884f5f35800f7f3e

Contents?: true

Size: 227 Bytes

Versions: 3

Compression:

Stored size: 227 Bytes

Contents

class CreateBitOne < ActiveRecord::Migration
  def self.up        
    create_table :users do |t|
      t.string :name
      t.boolean :trole
      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/one/bit_one.rb
troles-0.5.1 spec/active_record/migrations/one/bit_one.rb
troles-0.5.0 spec/active_record/migrations/one/bit_one.rb