Sha256: 3483634e4377b43976d5e9b70e144b91ad2b6ae5f01aae1ee5b074228dadee12

Contents?: true

Size: 452 Bytes

Versions: 8

Compression:

Stored size: 452 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :provider, null: false
      t.string :uid, null: false
      t.string :email, null: false, uniq: true
      t.integer :created, :limit => 8
      t.string :username
      t.boolean :verified
      t.boolean :admin
      t.string :referred_by
      t.string :token

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dailycred-0.1.29 localtest/db/migrate/20120906153457_create_users.rb
dailycred-0.1.28 localtest/db/migrate/20120906153457_create_users.rb
dailycred-0.1.27 localtest/db/migrate/20120906153457_create_users.rb
dailycred-0.1.26 localtest/db/migrate/20120906153457_create_users.rb
dailycred-0.1.25 localtest/db/migrate/20120906153457_create_users.rb
dailycred-0.1.24 localtest/db/migrate/20120906153457_create_users.rb
dailycred-0.1.23 localtest/db/migrate/20120906153457_create_users.rb
dailycred-0.1.22 localtest/db/migrate/20120906153457_create_users.rb