diff options
author | francis <francis> | 2007-08-03 16:14:58 +0000 |
---|---|---|
committer | francis <francis> | 2007-08-03 16:14:58 +0000 |
commit | 4201bb9674ac51e153a949d5c1edafd558aaeea2 (patch) | |
tree | c3802d0b16bf108ea2c94b434186c9934a32ebf2 /db/schema.rb | |
parent | d67f03663c2c4503a057866560a7505f8c620044 (diff) |
Ad
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 32e957c51..ab31f97d6 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -2,7 +2,16 @@ # migrations feature of ActiveRecord to incrementally modify your database, and # then regenerate this schema definition. -ActiveRecord::Schema.define(:version => 1) do +ActiveRecord::Schema.define(:version => 2) do + + create_table "sessions", :force => true do |t| + t.column "session_id", :string + t.column "data", :text + t.column "updated_at", :datetime + end + + add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id" + add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at" create_table "users", :force => true do |t| t.column "email", :string |