From cfa41fcc58acc9ae50b84eb51e3d9fa9ecb3b79e Mon Sep 17 00:00:00 2001 From: DavisLWebb Date: Wed, 23 Apr 2014 21:45:40 -0400 Subject: run ./generate.sh --- db/migrate/20140424013237_create_sessions.rb | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 db/migrate/20140424013237_create_sessions.rb (limited to 'db/migrate/20140424013237_create_sessions.rb') diff --git a/db/migrate/20140424013237_create_sessions.rb b/db/migrate/20140424013237_create_sessions.rb deleted file mode 100644 index f667f1e..0000000 --- a/db/migrate/20140424013237_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 -- cgit v1.2.3-2-g168b