]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20120328090602_drop_session_table.rb
Don't send comment text when reopening a note
[rails.git] / db / migrate / 20120328090602_drop_session_table.rb
1 class DropSessionTable < ActiveRecord::Migration[4.2]
2   def up
3     drop_table "sessions"
4   end
5
6   def down
7     create_table "sessions" do |t|
8       t.column "session_id", :string
9       t.column "data",       :text
10       t.column "created_at", :timestamp
11       t.column "updated_at", :timestamp
12     end
13     add_index "sessions", ["session_id"], :name => "sessions_session_id_idx", :unique => true
14   end
15 end