summaryrefslogtreecommitdiff
path: root/db/migrate/20140307004006_create_sessions.rb
blob: fe25bf2c4e2a9ef553cbf8503e7ba2b747582817 (plain)
1
2
3
4
5
6
7
8
9
class CreateSessions < ActiveRecord::Migration
  def change
    create_table :sessions do |t|
      t.references :user, index: true

      t.timestamps
    end
  end
end