mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Add EppSession for custom session management
This commit is contained in:
parent
3a57126e69
commit
e9f23ba348
9 changed files with 92 additions and 2 deletions
12
db/migrate/20140627082711_create_epp_sessions.rb
Normal file
12
db/migrate/20140627082711_create_epp_sessions.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
class CreateEppSessions < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :epp_sessions do |t|
|
||||
t.string :session_id
|
||||
t.text :data
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :epp_sessions, :session_id, :unique => true
|
||||
add_index :epp_sessions, :updated_at
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue