Sha256: 52aca78927166b598a7af9f11138c48aaee68a16da1d5e80233095ba58f3a854

Contents?: true

Size: 257 Bytes

Versions: 2

Compression:

Stored size: 257 Bytes

Contents

class SetupMigration < ActiveRecord::Migration
  def self.up
    create_table(:users) {|t| t.string :first_name; t.string :last_name}
    create_table(:games) {|t| t.string :name; t.references :user }
    create_table(:trees) {|t| t.string :name }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
easy_presenter-1.1.1 spec/fake_app/migrations.rb
easy_presenter-1.1.0 spec/fake_app/migrations.rb