-
-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy path20101026184949_create_users.rb
More file actions
31 lines (30 loc) · 1.01 KB
/
20101026184949_create_users.rb
File metadata and controls
31 lines (30 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# frozen_string_literal: true
class CreateUsers < ActiveRecord::Migration[4.2]
def up
unless table_exists?("spree_users")
create_table "spree_users", force: true do |t|
t.string "crypted_password", limit: 128
t.string "salt", limit: 128
t.string "email"
t.string "remember_token"
t.string "remember_token_expires_at"
t.string "persistence_token"
t.string "single_access_token"
t.string "perishable_token"
t.integer "login_count", default: 0, null: false
t.integer "failed_login_count", default: 0, null: false
t.datetime "last_request_at"
t.datetime "current_login_at"
t.datetime "last_login_at"
t.string "current_login_ip"
t.string "last_login_ip"
t.string "login"
t.integer "ship_address_id"
t.integer "bill_address_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "openid_identifier"
end
end
end
end