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