diff options
| author | mo khan <mo@mokhan.ca> | 2016-05-05 20:15:55 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2016-05-05 20:15:55 -0600 |
| commit | b49a475c89848061cef7c705138e33a139a65fb4 (patch) | |
| tree | 7910175b7dcbae48a9226bf5136e7f4b27984ada /db | |
| parent | 852688dd3a3d346ef03e96e53104724e7b0485d0 (diff) | |
hound happy.
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20160430155822_create_user_sessions.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/db/migrate/20160430155822_create_user_sessions.rb b/db/migrate/20160430155822_create_user_sessions.rb index 292227c..da6721a 100644 --- a/db/migrate/20160430155822_create_user_sessions.rb +++ b/db/migrate/20160430155822_create_user_sessions.rb @@ -1,7 +1,11 @@ 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 |
