diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-06 13:18:00 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-06 13:18:00 -0400 |
commit | d2e4f58410c20f5e7b9e8e0dde3fd55d201af4bb (patch) | |
tree | b3d500e7072cb8edcae13d20a9999c65400d966b /db/migrate/20140406015341_create_sessions.rb | |
parent | 540980e84dc22e2064ad33f79c0b526628848fa9 (diff) |
run generate
Diffstat (limited to 'db/migrate/20140406015341_create_sessions.rb')
-rw-r--r-- | db/migrate/20140406015341_create_sessions.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/db/migrate/20140406015341_create_sessions.rb b/db/migrate/20140406015341_create_sessions.rb deleted file mode 100644 index f667f1e..0000000 --- a/db/migrate/20140406015341_create_sessions.rb +++ /dev/null @@ -1,11 +0,0 @@ -class CreateSessions < ActiveRecord::Migration - def change - create_table :sessions do |t| - t.references :user, index: true - t.string :token - - t.timestamps - end - add_index :sessions, :token, unique: true - end -end |