db/schema.rb in parlement-0.12 vs db/schema.rb in parlement-0.13
- old
+ new
@@ -1,10 +1,10 @@
# This file is autogenerated. Instead of editing this file, please use the
# migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.
-ActiveRecord::Schema.define(:version => 6) do
+ActiveRecord::Schema.define(:version => 9) do
create_table "attachments", :force => true do |t|
t.column "elt_id", :text, :null => false
t.column "created_on", :datetime, :null => false
t.column "content_type", :text
@@ -56,15 +56,26 @@
t.column "message", :text
t.column "mail_parents", :text
t.column "file", :text
end
+ create_table "old_visits", :force => true do |t|
+ t.column "person_id", :string
+ t.column "elt_id", :string, :null => false
+ t.column "created_on", :datetime, :null => false
+ t.column "updated_on", :datetime
+ t.column "filter", :integer, :default => 0
+ end
+
+ add_index "old_visits", ["person_id", "elt_id"], :name => "old_visits_elt_person_key", :unique => true
+
create_table "people", :force => true do |t|
t.column "created_on", :datetime, :null => false
t.column "name", :text
t.column "email", :text
t.column "image", :text
+ t.column "last_login", :datetime
end
add_index "people", ["name"], :name => "people_name_key", :unique => true
create_table "person_mails", :force => true do |t|
@@ -103,7 +114,17 @@
t.column "new_email", :text
t.column "security_token", :text
end
add_index "usersold", ["person_id"], :name => "usersold_person_id_key", :unique => true
+
+ create_table "visits", :force => true do |t|
+ t.column "person_id", :string
+ t.column "elt_id", :string, :null => false
+ t.column "created_on", :datetime, :null => false
+ t.column "updated_on", :datetime
+ t.column "filter", :integer, :default => 0
+ end
+
+ add_index "visits", ["person_id", "elt_id"], :name => "visits_elt_person_key", :unique => true
end