Sha256: 11097bd0dd0554281d3a824a5c3c71f113ae9bdf23b31acebf4bc6648a93522e
Contents?: true
Size: 492 Bytes
Versions: 8
Compression:
Stored size: 492 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 t.integer :created, :limit => 8 t.string :username t.boolean :verified t.boolean :admin t.string :referred_by t.string :token t.text :facebook t.text :tags t.text :referred t.timestamps end end def self.down drop_table :users end end
Version data entries
8 entries across 8 versions & 1 rubygems