Sha256: 8d0c649bbb514110011793ca3174e488872058aa4f17225227b59a8312b17ed5

Contents?: true

Size: 218 Bytes

Versions: 2

Compression:

Stored size: 218 Bytes

Contents

# frozen_string_literal: true

class CreatePerson < ActiveRecord::Migration[6.0]
  def change
    create_table :people do |t|
      t.string :name
      t.integer :age

      t.timestamps null: false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slayer_rails-0.5.4 db/migrate/20170214100255_create_person.rb
slayer_rails-0.5.0.beta db/migrate/20170214100255_create_person.rb