Sha256: 96661acc8520a65801b171a755e1063f1dd1ebc2ed4a4888a87c853ef585b55d

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

class CreateBeings < ActiveRecord::Migration
  def self.up
    create_table :beings do |t|
      t.column :country, :string
      t.column :race, :string
      t.column :type, :string
    end
  end

  def self.down
    drop_table :beings
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_finder-0.1.3 spec/rails/db/migrate/001_create_beings.rb