Trying to get authlogic running
This commit is contained in:
parent
06f09c0486
commit
737ff62cfc
23 changed files with 306 additions and 4 deletions
13
db/migrate/20150713155458_create_user_sessions.rb
Normal file
13
db/migrate/20150713155458_create_user_sessions.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class CreateUserSessions < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :user_sessions do |t|
|
||||
t.string :session_id, :null => false
|
||||
t.text :data
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :user_sessions, :session_id
|
||||
add_index :user_sessions, :updated_at
|
||||
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue