diff options
| author | mo khan <mo@mokhan.ca> | 2016-05-05 20:23:48 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2016-05-05 20:23:48 -0600 |
| commit | 8f90de2d209e732c8e6d9c470dab57d439cd6925 (patch) | |
| tree | d7ef6de832ddc5c56fc83a4f37864b30f0a076bd /db | |
| parent | b49a475c89848061cef7c705138e33a139a65fb4 (diff) | |
wait for xhr to finish.
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20160430155822_create_user_sessions.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/db/migrate/20160430155822_create_user_sessions.rb b/db/migrate/20160430155822_create_user_sessions.rb index da6721a..292227c 100644 --- a/db/migrate/20160430155822_create_user_sessions.rb +++ b/db/migrate/20160430155822_create_user_sessions.rb @@ -1,11 +1,7 @@ class CreateUserSessions < ActiveRecord::Migration def change create_table :user_sessions, id: :uuid do |t| - t.belongs_to :user, - foreign_key: true, - type: :uuid, - index: true, - null: false + t.belongs_to :user, foreign_key: true, type: :uuid, index: true, null: false t.string :ip t.text :user_agent t.datetime :accessed_at |
