Sha256: 545b71a548faf570d16a6bd60fd4bae8f4a6cb253fb939959ef441c6acce6266

Contents?: true

Size: 237 Bytes

Versions: 3

Compression:

Stored size: 237 Bytes

Contents

class CreateStringMany < ActiveRecord::Migration
  def self.up
    # down

    create_table :users do |t|
      t.string :name
      t.string :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/string_many.rb
troles-0.5.1 spec/active_record/migrations/many/string_many.rb
troles-0.5.0 spec/active_record/migrations/many/string_many.rb