Sha256: 5098c19c6fcc0fb6a204e413113374e5cb270d10c71396103a7f56a6b9589e86

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

class CreateUsers < ActiveRecord::Migration[4.2]
  def change
    create_table :users do |t|

      t.string :name
      t.string :remember_token, index: true
      t.string :password_digest
      t.integer :level

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
snapuser-0.2.6 db/migrate/20150415193853_create_users.rb