Sha256: 40542e7867fd9e5e2c922723ef20cb7f21f10da6d9d6c8967c494db947f69295

Contents?: true

Size: 246 Bytes

Versions: 2

Compression:

Stored size: 246 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :type
      t.string :first_name
      t.string :last_name
      t.string :username
      t.integer :age

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin-axlsx-2.1.2 spec/rails/rails-3.2.9/db/migrate/20130602172724_create_users.rb
activeadmin-axlsx-1.0.0a spec/rails/rails-3.2.8/db/migrate/20121103000625_create_users.rb