forgeos_core 1.9.5.rc1 → 1.9.5.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. data/Gemfile +6 -0
  2. data/README.textile +1 -0
  3. data/app/helpers/application_helper.rb +6 -5
  4. data/app/models/administrator.rb +1 -1
  5. data/app/models/attachment.rb +2 -1
  6. data/app/models/person.rb +18 -13
  7. data/app/views/layouts/admin.html.haml +2 -2
  8. data/config/forgeos_admin_menu.yml +51 -0
  9. data/config/initializers/forgeos_menu_hash.rb +10 -0
  10. data/db/migrate/20091103220541_migrate_from_restful_authentication_to_authlogic.rb +3 -25
  11. data/lib/forgeos.rb +2 -62
  12. data/lib/forgeos/core.rb +1 -6
  13. data/lib/forgeos/core/engine.rb +1 -0
  14. data/lib/forgeos/core/version.rb +1 -1
  15. data/test/before_travis.sh +9 -0
  16. data/test/dummy/config/application.rb +8 -1
  17. data/test/dummy/config/database.yml +1 -21
  18. data/test/dummy/config/initializers/in_memory_database.rb +8 -0
  19. data/test/dummy/config/initializers/session_store.rb +1 -1
  20. data/test/dummy/config/initializers/wrap_parameters.rb +1 -1
  21. data/test/dummy/db/schema.rb +256 -0
  22. data/test/dummy/db/test.sqlite3 +0 -0
  23. data/test/dummy/log/RAILS_ENV=test.log +0 -0
  24. data/test/dummy/log/development.log +546 -0
  25. data/test/dummy/log/test.log +20047 -0
  26. data/test/dummy/test/fixtures/geo_zones.yml +1582 -0
  27. data/test/dummy/test/fixtures/people.yml +11 -0
  28. data/test/dummy/test/fixtures/settings.yml +70 -0
  29. data/test/dummy/vendor/plugins/attachment_fu/CHANGELOG +35 -0
  30. data/test/dummy/vendor/plugins/attachment_fu/LICENSE +20 -0
  31. data/test/dummy/vendor/plugins/attachment_fu/README +193 -0
  32. data/test/dummy/vendor/plugins/attachment_fu/Rakefile +22 -0
  33. data/test/dummy/vendor/plugins/attachment_fu/amazon_s3.yml.tpl +17 -0
  34. data/test/dummy/vendor/plugins/attachment_fu/init.rb +17 -0
  35. data/test/dummy/vendor/plugins/attachment_fu/install.rb +7 -0
  36. data/test/dummy/vendor/plugins/attachment_fu/lib/geometry.rb +93 -0
  37. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb +538 -0
  38. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/cloud_file_backend.rb +211 -0
  39. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/db_file_backend.rb +39 -0
  40. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb +126 -0
  41. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/ftp_backend.rb +255 -0
  42. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/s3_backend.rb +394 -0
  43. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/core_image_processor.rb +59 -0
  44. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/gd2_processor.rb +54 -0
  45. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb +61 -0
  46. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/mini_magick_processor.rb +132 -0
  47. data/test/dummy/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/rmagick_processor.rb +57 -0
  48. data/test/dummy/vendor/plugins/attachment_fu/rackspace_cloudfiles.yml.tpl +14 -0
  49. data/test/dummy/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/color.rb +27 -0
  50. data/test/dummy/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/effects.rb +31 -0
  51. data/test/dummy/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/perspective.rb +25 -0
  52. data/test/dummy/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/quality.rb +25 -0
  53. data/test/dummy/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/scale.rb +47 -0
  54. data/test/dummy/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/watermark.rb +32 -0
  55. data/test/dummy/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/processor.rb +123 -0
  56. data/test/dummy/vendor/plugins/open_flash_chart/MIT-LICENSE +20 -0
  57. data/test/dummy/vendor/plugins/open_flash_chart/README +54 -0
  58. data/test/dummy/vendor/plugins/open_flash_chart/Rakefile +22 -0
  59. data/test/dummy/vendor/plugins/open_flash_chart/assets/javascripts/swfobject.js +5 -0
  60. data/test/dummy/vendor/plugins/open_flash_chart/assets/open-flash-chart-bar-clicking.swf +0 -0
  61. data/test/dummy/vendor/plugins/open_flash_chart/assets/open-flash-chart.swf +0 -0
  62. data/test/dummy/vendor/plugins/open_flash_chart/init.rb +9 -0
  63. data/test/dummy/vendor/plugins/open_flash_chart/install.rb +17 -0
  64. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart.rb +54 -0
  65. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/area_base.rb +18 -0
  66. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/area_hollow.rb +10 -0
  67. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/area_line.rb +10 -0
  68. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/arrow.rb +13 -0
  69. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/background.rb +45 -0
  70. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/bar.rb +18 -0
  71. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/bar_3d.rb +17 -0
  72. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/bar_base.rb +7 -0
  73. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/bar_filled.rb +18 -0
  74. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/bar_glass.rb +67 -0
  75. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/bar_sketch.rb +13 -0
  76. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/bar_stack.rb +29 -0
  77. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/base.rb +123 -0
  78. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/candle.rb +22 -0
  79. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/chart.rb +13 -0
  80. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/dot_base.rb +55 -0
  81. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/h_bar.rb +26 -0
  82. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/legend.rb +7 -0
  83. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/line.rb +23 -0
  84. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/line_base.rb +17 -0
  85. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/line_dot.rb +17 -0
  86. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/line_hollow.rb +10 -0
  87. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/line_style.rb +12 -0
  88. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/linear_regression.rb +39 -0
  89. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/menu.rb +26 -0
  90. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/ofc_ajax.rb +116 -0
  91. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/open_flash_chart_object.rb +53 -0
  92. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/pie.rb +75 -0
  93. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/radar_axis.rb +10 -0
  94. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/radar_axis_labels.rb +10 -0
  95. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/radar_spoke_labels.rb +10 -0
  96. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/scatter.rb +22 -0
  97. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/scatter_line.rb +20 -0
  98. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/shape.rb +20 -0
  99. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/sugar.rb +27 -0
  100. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/tags.rb +62 -0
  101. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/title.rb +10 -0
  102. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/tooltip.rb +25 -0
  103. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/upload_image.rb +1 -0
  104. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/x_axis.rb +18 -0
  105. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/x_axis_label.rb +21 -0
  106. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/x_axis_labels.rb +9 -0
  107. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/x_legend.rb +10 -0
  108. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/y_axis.rb +3 -0
  109. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/y_axis_base.rb +7 -0
  110. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/y_axis_label.rb +12 -0
  111. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/y_axis_labels.rb +7 -0
  112. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/y_axis_right.rb +4 -0
  113. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/y_legend.rb +10 -0
  114. data/test/dummy/vendor/plugins/open_flash_chart/lib/open_flash_chart/y_legend_right.rb +6 -0
  115. data/test/dummy/vendor/plugins/open_flash_chart/tasks/open_flash_chart_tasks.rake +4 -0
  116. data/test/dummy/vendor/plugins/open_flash_chart/uninstall.rb +1 -0
  117. data/test/files/admin_menu.yml +1 -0
  118. data/test/files/database.yml.mysql +5 -0
  119. data/test/files/database.yml.postgres +4 -0
  120. data/test/files/database.yml.sqlite +5 -0
  121. data/test/fixtures/geo_zones.yml +1582 -0
  122. data/test/fixtures/people.yml +43 -0
  123. data/test/fixtures/settings.yml +70 -0
  124. data/test/forgeos_core_test.rb +30 -2
  125. data/test/test_helper.rb +8 -0
  126. data/test/unit/administrator_test.rb +30 -0
  127. data/test/unit/person_test.rb +103 -0
  128. data/test/unit/user_test.rb +16 -0
  129. metadata +251 -37
  130. data/db/migrate/20110310144114_add_perishable_token_to_people.rb +0 -10
Binary file
File without changes
@@ -0,0 +1,546 @@
1
+  (0.1ms) select sqlite_version(*)
2
+  (7.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
+  (0.1ms) PRAGMA index_list("schema_migrations")
4
+  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.3ms) select sqlite_version(*)
6
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
7
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8
+  (0.1ms) select sqlite_version(*)
9
+  (15.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
10
+  (0.0ms) PRAGMA index_list("schema_migrations")
11
+  (4.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
12
+  (0.1ms) SELECT version FROM "schema_migrations"
13
+  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
14
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
15
+  (0.1ms) select sqlite_version(*)
16
+  (12.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
17
+  (0.1ms) PRAGMA index_list("schema_migrations")
18
+  (4.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
19
+  (0.1ms) SELECT version FROM "schema_migrations"
20
+  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
21
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
22
+  (0.1ms) select sqlite_version(*)
23
+  (18.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
24
+  (0.1ms) PRAGMA index_list("schema_migrations")
25
+  (6.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
26
+  (0.1ms) SELECT version FROM "schema_migrations"
27
+  (5.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
28
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
29
+ Migrating to CreateAddresses (20111024100907)
30
+  (0.1ms) select sqlite_version(*)
31
+  (0.6ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "address_2" varchar(255), "zip_code" varchar(255), "city" varchar(255), "type" varchar(255), "country_id" integer, "person_id" integer, "created_at" datetime, "updated_at" datetime) 
32
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100907')
33
+ Migrating to CreateAttachments (20111024100908)
34
+  (0.4ms) CREATE TABLE "attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_type" varchar(255), "name" varchar(255), "filename" varchar(255), "alternative" varchar(255), "thumbnail" varchar(255), "type" varchar(255), "height" integer, "width" integer, "size" integer, "parent_id" integer, "person_id" integer, "created_at" datetime, "updated_at" datetime) 
35
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100908')
36
+ Migrating to CreateAttachmentsElements (20111024100909)
37
+  (0.4ms) CREATE TABLE "attachments_elements" ("attachment_id" integer, "element_id" integer, "position" integer) 
38
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100909')
39
+ Migrating to CreateCategories (20111024100910)
40
+  (0.3ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime) 
41
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100910')
42
+ Migrating to CreateCategoriesElements (20111024100911)
43
+  (0.3ms) CREATE TABLE "categories_elements" ("category_id" integer, "element_id" integer) 
44
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100911')
45
+ Migrating to CreateComments (20111024100912)
46
+  (0.4ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(50) DEFAULT '', "comment" text, "commentable_id" integer, "commentable_type" varchar(255), "person_id" integer, "created_at" datetime, "updated_at" datetime) 
47
+  (0.1ms) PRAGMA index_list("comments")
48
+  (0.2ms) CREATE INDEX "fk_comments_person" ON "comments" ("person_id")
49
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100912')
50
+ Migrating to CreateGeoZones (20111024100913)
51
+  (0.3ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "iso" varchar(255), "iso3" varchar(255), "name" varchar(255), "printable_name" varchar(255), "type" varchar(255), "numcode" integer, "parent_id" integer) 
52
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100913')
53
+ Migrating to CreateMetaInfos (20111024100914)
54
+  (0.3ms) CREATE TABLE "meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "keywords" text, "target_id" integer, "target_type" varchar(255)) 
55
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100914')
56
+ Migrating to CreatePeople (20111024100915)
57
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer) 
58
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100915')
59
+ Migrating to CreateRights (20111024100916)
60
+  (0.5ms) CREATE TABLE "rights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "controller_name" varchar(255), "action_name" varchar(255)) 
61
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100916')
62
+ Migrating to CreateRightsRoles (20111024100917)
63
+  (0.3ms) CREATE TABLE "rights_roles" ("right_id" integer, "role_id" integer) 
64
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100917')
65
+ Migrating to CreateRoles (20111024100918)
66
+  (0.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "active" boolean DEFAULT 't' NOT NULL, "created_at" datetime, "updated_at" datetime) 
67
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100918')
68
+ Migrating to CreateRules (20111024100919)
69
+  (0.5ms) CREATE TABLE "rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "conditions" text, "description" text, "variables" text, "use" integer DEFAULT 0 NOT NULL, "max_use" integer DEFAULT 0 NOT NULL, "name" varchar(255), "type" varchar(255), "code" varchar(255), "active" boolean DEFAULT 't' NOT NULL, "parent_id" integer) 
70
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100919')
71
+ Migrating to CreateSearchKeywords (20111024100920)
72
+  (0.4ms) CREATE TABLE "search_keywords" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "keyword" varchar(255), "created_at" datetime, "updated_at" datetime) 
73
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100920')
74
+ Migrating to CreateStatisticCounters (20111024100921)
75
+  (0.3ms) CREATE TABLE "statistic_counters" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "date" date, "counter" integer DEFAULT 1, "element_id" integer, "element_type" varchar(255)) 
76
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100921')
77
+ Migrating to CreateTags (20111024100922)
78
+  (0.4ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime) 
79
+  (0.1ms) PRAGMA index_list("taggings")
80
+  (0.2ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
81
+  (0.1ms) PRAGMA index_list("taggings")
82
+  (0.1ms) PRAGMA index_info('index_taggings_on_tag_id')
83
+  (0.2ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
84
+  (0.2ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
85
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100922')
86
+ Migrating to CreateSettings (20111024100923)
87
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "phone_number" varchar(255), "fax_number" varchar(255), "email" varchar(255), "mailer" text NOT NULL, "smtp_settings" text NOT NULL, "sendmail_settings" text NOT NULL, "address_id" integer) 
88
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024100923')
89
+ Migrating to MigrateFromRestfulAuthenticationToAuthlogic (20111024100924)
90
+  (0.5ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer) 
91
+  (0.0ms) PRAGMA index_list("people")
92
+  (0.3ms) SELECT * FROM "people"
93
+  (0.3ms) DROP TABLE "people"
94
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer) 
95
+  (0.0ms) PRAGMA index_list("altered_people")
96
+  (0.2ms) SELECT * FROM "altered_people"
97
+  (0.3ms) DROP TABLE "altered_people"
98
+  (0.3ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer) 
99
+  (0.0ms) PRAGMA index_list("people")
100
+  (0.2ms) SELECT * FROM "people"
101
+  (0.3ms) DROP TABLE "people"
102
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer) 
103
+  (0.0ms) PRAGMA index_list("altered_people")
104
+  (1.2ms) SELECT * FROM "altered_people"
105
+  (0.2ms) DROP TABLE "altered_people"
106
+  (0.3ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer) 
107
+  (0.0ms) PRAGMA index_list("people")
108
+  (0.2ms) SELECT * FROM "people"
109
+  (0.2ms) DROP TABLE "people"
110
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer) 
111
+  (0.0ms) PRAGMA index_list("altered_people")
112
+  (0.2ms) SELECT * FROM "altered_people"
113
+  (0.2ms) DROP TABLE "altered_people"
114
+  (0.2ms) ALTER TABLE "people" ADD "persistence_token" varchar(255) NOT NULL
115
+ SQLite3::SQLException: Cannot add a NOT NULL column with default value NULL: ALTER TABLE "people" ADD "persistence_token" varchar(255) NOT NULL
116
+  (0.1ms) select sqlite_version(*)
117
+  (8.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
118
+  (0.1ms) PRAGMA index_list("schema_migrations")
119
+  (4.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
120
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
121
+ Migrating to CreateAddresses (20111024101410)
122
+  (0.4ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "address_2" varchar(255), "zip_code" varchar(255), "city" varchar(255), "type" varchar(255), "country_id" integer, "person_id" integer, "created_at" datetime, "updated_at" datetime)
123
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101410')
124
+ Migrating to CreateAttachments (20111024101411)
125
+  (0.4ms) CREATE TABLE "attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_type" varchar(255), "name" varchar(255), "filename" varchar(255), "alternative" varchar(255), "thumbnail" varchar(255), "type" varchar(255), "height" integer, "width" integer, "size" integer, "parent_id" integer, "person_id" integer, "created_at" datetime, "updated_at" datetime)
126
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101411')
127
+ Migrating to CreateAttachmentsElements (20111024101412)
128
+  (0.4ms) CREATE TABLE "attachments_elements" ("attachment_id" integer, "element_id" integer, "position" integer)
129
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101412')
130
+ Migrating to CreateCategories (20111024101413)
131
+  (0.4ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime)
132
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101413')
133
+ Migrating to CreateCategoriesElements (20111024101414)
134
+  (0.3ms) CREATE TABLE "categories_elements" ("category_id" integer, "element_id" integer)
135
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101414')
136
+ Migrating to CreateComments (20111024101415)
137
+  (0.4ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(50) DEFAULT '', "comment" text, "commentable_id" integer, "commentable_type" varchar(255), "person_id" integer, "created_at" datetime, "updated_at" datetime)
138
+  (0.1ms) PRAGMA index_list("comments")
139
+  (0.2ms) CREATE INDEX "fk_comments_person" ON "comments" ("person_id")
140
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101415')
141
+ Migrating to CreateGeoZones (20111024101416)
142
+  (0.3ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "iso" varchar(255), "iso3" varchar(255), "name" varchar(255), "printable_name" varchar(255), "type" varchar(255), "numcode" integer, "parent_id" integer)
143
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101416')
144
+ Migrating to CreateMetaInfos (20111024101417)
145
+  (0.3ms) CREATE TABLE "meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "keywords" text, "target_id" integer, "target_type" varchar(255))
146
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101417')
147
+ Migrating to CreatePeople (20111024101418)
148
+  (0.5ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
149
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101418')
150
+ Migrating to CreateRights (20111024101419)
151
+  (0.3ms) CREATE TABLE "rights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "controller_name" varchar(255), "action_name" varchar(255))
152
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101419')
153
+ Migrating to CreateRightsRoles (20111024101420)
154
+  (0.3ms) CREATE TABLE "rights_roles" ("right_id" integer, "role_id" integer)
155
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101420')
156
+ Migrating to CreateRoles (20111024101421)
157
+  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "active" boolean DEFAULT 't' NOT NULL, "created_at" datetime, "updated_at" datetime)
158
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101421')
159
+ Migrating to CreateRules (20111024101422)
160
+  (0.4ms) CREATE TABLE "rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "conditions" text, "description" text, "variables" text, "use" integer DEFAULT 0 NOT NULL, "max_use" integer DEFAULT 0 NOT NULL, "name" varchar(255), "type" varchar(255), "code" varchar(255), "active" boolean DEFAULT 't' NOT NULL, "parent_id" integer)
161
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101422')
162
+ Migrating to CreateSearchKeywords (20111024101423)
163
+  (0.4ms) CREATE TABLE "search_keywords" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "keyword" varchar(255), "created_at" datetime, "updated_at" datetime)
164
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101423')
165
+ Migrating to CreateStatisticCounters (20111024101424)
166
+  (0.3ms) CREATE TABLE "statistic_counters" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "date" date, "counter" integer DEFAULT 1, "element_id" integer, "element_type" varchar(255))
167
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101424')
168
+ Migrating to CreateTags (20111024101425)
169
+  (0.4ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime)
170
+  (0.1ms) PRAGMA index_list("taggings")
171
+  (0.2ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
172
+  (0.1ms) PRAGMA index_list("taggings")
173
+  (0.1ms) PRAGMA index_info('index_taggings_on_tag_id')
174
+  (0.2ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
175
+  (0.2ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
176
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101425')
177
+ Migrating to CreateSettings (20111024101426)
178
+  (0.5ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "phone_number" varchar(255), "fax_number" varchar(255), "email" varchar(255), "mailer" text NOT NULL, "smtp_settings" text NOT NULL, "sendmail_settings" text NOT NULL, "address_id" integer)
179
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101426')
180
+ Migrating to MigrateFromRestfulAuthenticationToAuthlogic (20111024101427)
181
+  (0.5ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
182
+  (0.0ms) PRAGMA index_list("people")
183
+  (0.4ms) SELECT * FROM "people"
184
+  (0.4ms) DROP TABLE "people"
185
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
186
+  (0.0ms) PRAGMA index_list("altered_people")
187
+  (0.2ms) SELECT * FROM "altered_people"
188
+  (0.2ms) DROP TABLE "altered_people"
189
+  (0.3ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
190
+  (0.0ms) PRAGMA index_list("people")
191
+  (0.2ms) SELECT * FROM "people"
192
+  (0.3ms) DROP TABLE "people"
193
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
194
+  (0.0ms) PRAGMA index_list("altered_people")
195
+  (1.2ms) SELECT * FROM "altered_people"
196
+  (0.3ms) DROP TABLE "altered_people"
197
+  (0.3ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
198
+  (0.0ms) PRAGMA index_list("people")
199
+  (0.2ms) SELECT * FROM "people"
200
+  (0.2ms) DROP TABLE "people"
201
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
202
+  (0.0ms) PRAGMA index_list("altered_people")
203
+  (0.2ms) SELECT * FROM "altered_people"
204
+  (0.2ms) DROP TABLE "altered_people"
205
+  (0.2ms) ALTER TABLE "people" ADD "persistence_token" varchar(255) NOT NULL
206
+ SQLite3::SQLException: Cannot add a NOT NULL column with default value NULL: ALTER TABLE "people" ADD "persistence_token" varchar(255) NOT NULL
207
+  (0.1ms) select sqlite_version(*)
208
+  (7.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
209
+  (0.0ms) PRAGMA index_list("schema_migrations")
210
+  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
211
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
212
+ Migrating to CreateAddresses (20111024101848)
213
+  (0.4ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "address_2" varchar(255), "zip_code" varchar(255), "city" varchar(255), "type" varchar(255), "country_id" integer, "person_id" integer, "created_at" datetime, "updated_at" datetime)
214
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101848')
215
+ Migrating to CreateAttachments (20111024101849)
216
+  (0.3ms) CREATE TABLE "attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_type" varchar(255), "name" varchar(255), "filename" varchar(255), "alternative" varchar(255), "thumbnail" varchar(255), "type" varchar(255), "height" integer, "width" integer, "size" integer, "parent_id" integer, "person_id" integer, "created_at" datetime, "updated_at" datetime)
217
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101849')
218
+ Migrating to CreateAttachmentsElements (20111024101850)
219
+  (0.4ms) CREATE TABLE "attachments_elements" ("attachment_id" integer, "element_id" integer, "position" integer)
220
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101850')
221
+ Migrating to CreateCategories (20111024101851)
222
+  (0.3ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime)
223
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101851')
224
+ Migrating to CreateCategoriesElements (20111024101852)
225
+  (0.3ms) CREATE TABLE "categories_elements" ("category_id" integer, "element_id" integer)
226
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101852')
227
+ Migrating to CreateComments (20111024101853)
228
+  (0.4ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(50) DEFAULT '', "comment" text, "commentable_id" integer, "commentable_type" varchar(255), "person_id" integer, "created_at" datetime, "updated_at" datetime)
229
+  (0.1ms) PRAGMA index_list("comments")
230
+  (0.2ms) CREATE INDEX "fk_comments_person" ON "comments" ("person_id")
231
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101853')
232
+ Migrating to CreateGeoZones (20111024101854)
233
+  (0.3ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "iso" varchar(255), "iso3" varchar(255), "name" varchar(255), "printable_name" varchar(255), "type" varchar(255), "numcode" integer, "parent_id" integer)
234
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101854')
235
+ Migrating to CreateMetaInfos (20111024101855)
236
+  (0.4ms) CREATE TABLE "meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "keywords" text, "target_id" integer, "target_type" varchar(255))
237
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101855')
238
+ Migrating to CreatePeople (20111024101856)
239
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
240
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101856')
241
+ Migrating to CreateRights (20111024101857)
242
+  (0.3ms) CREATE TABLE "rights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "controller_name" varchar(255), "action_name" varchar(255))
243
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101857')
244
+ Migrating to CreateRightsRoles (20111024101858)
245
+  (0.3ms) CREATE TABLE "rights_roles" ("right_id" integer, "role_id" integer)
246
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101858')
247
+ Migrating to CreateRoles (20111024101859)
248
+  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "active" boolean DEFAULT 't' NOT NULL, "created_at" datetime, "updated_at" datetime)
249
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101859')
250
+ Migrating to CreateRules (20111024101860)
251
+  (0.4ms) CREATE TABLE "rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "conditions" text, "description" text, "variables" text, "use" integer DEFAULT 0 NOT NULL, "max_use" integer DEFAULT 0 NOT NULL, "name" varchar(255), "type" varchar(255), "code" varchar(255), "active" boolean DEFAULT 't' NOT NULL, "parent_id" integer)
252
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101860')
253
+ Migrating to CreateSearchKeywords (20111024101861)
254
+  (0.5ms) CREATE TABLE "search_keywords" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "keyword" varchar(255), "created_at" datetime, "updated_at" datetime)
255
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101861')
256
+ Migrating to CreateStatisticCounters (20111024101862)
257
+  (0.3ms) CREATE TABLE "statistic_counters" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "date" date, "counter" integer DEFAULT 1, "element_id" integer, "element_type" varchar(255))
258
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101862')
259
+ Migrating to CreateTags (20111024101863)
260
+  (0.4ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime)
261
+  (0.1ms) PRAGMA index_list("taggings")
262
+  (0.2ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
263
+  (0.1ms) PRAGMA index_list("taggings")
264
+  (0.1ms) PRAGMA index_info('index_taggings_on_tag_id')
265
+  (0.2ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
266
+  (0.2ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
267
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101863')
268
+ Migrating to CreateSettings (20111024101864)
269
+  (0.4ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "phone_number" varchar(255), "fax_number" varchar(255), "email" varchar(255), "mailer" text NOT NULL, "smtp_settings" text NOT NULL, "sendmail_settings" text NOT NULL, "address_id" integer)
270
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101864')
271
+ Migrating to MigrateFromRestfulAuthenticationToAuthlogic (20111024101865)
272
+  (0.5ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
273
+  (0.0ms) PRAGMA index_list("people")
274
+  (0.3ms) SELECT * FROM "people"
275
+  (0.3ms) DROP TABLE "people"
276
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
277
+  (0.0ms) PRAGMA index_list("altered_people")
278
+  (0.2ms) SELECT * FROM "altered_people"
279
+  (0.2ms) DROP TABLE "altered_people"
280
+  (0.4ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(40), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
281
+  (0.0ms) PRAGMA index_list("people")
282
+  (0.2ms) SELECT * FROM "people"
283
+  (0.3ms) DROP TABLE "people"
284
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
285
+  (0.0ms) PRAGMA index_list("altered_people")
286
+  (0.2ms) SELECT * FROM "altered_people"
287
+  (0.2ms) DROP TABLE "altered_people"
288
+  (0.3ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(40), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
289
+  (0.0ms) PRAGMA index_list("people")
290
+  (0.2ms) SELECT * FROM "people"
291
+  (0.2ms) DROP TABLE "people"
292
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer)
293
+  (0.0ms) PRAGMA index_list("altered_people")
294
+  (1.2ms) SELECT * FROM "altered_people"
295
+  (0.2ms) DROP TABLE "altered_people"
296
+  (0.3ms) ALTER TABLE "people" ADD "persistence_token" varchar(255) DEFAULT '' NOT NULL
297
+  (0.3ms) ALTER TABLE "people" ADD "people" varchar(255) DEFAULT ''
298
+  (0.3ms) ALTER TABLE "people" ADD "perishable_token" varchar(255) DEFAULT ''
299
+  (0.3ms) ALTER TABLE "people" ADD "string" varchar(255) DEFAULT ''
300
+  (0.3ms) ALTER TABLE "people" ADD "login_count" integer DEFAULT 0 NOT NULL
301
+  (0.3ms) ALTER TABLE "people" ADD "failed_login_count" integer DEFAULT 0 NOT NULL
302
+  (0.3ms) ALTER TABLE "people" ADD "last_request_at" datetime
303
+  (0.3ms) ALTER TABLE "people" ADD "current_login_at" datetime
304
+  (0.3ms) ALTER TABLE "people" ADD "last_login_at" datetime
305
+  (0.3ms) ALTER TABLE "people" ADD "current_login_ip" varchar(255)
306
+  (0.3ms) ALTER TABLE "people" ADD "last_login_ip" varchar(255)
307
+  (0.3ms) ALTER TABLE "people" ADD "active" boolean DEFAULT 'f' NOT NULL
308
+  (0.3ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "remember_token" varchar(40), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer, "persistence_token" varchar(255) DEFAULT '' NOT NULL, "people" varchar(255) DEFAULT '', "perishable_token" varchar(255) DEFAULT '', "string" varchar(255) DEFAULT '', "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 'f' NOT NULL)
309
+  (0.0ms) PRAGMA index_list("people")
310
+  (0.2ms) SELECT * FROM "people"
311
+  (0.2ms) DROP TABLE "people"
312
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer, "persistence_token" varchar(255) DEFAULT '' NOT NULL, "people" varchar(255) DEFAULT '', "perishable_token" varchar(255) DEFAULT '', "string" varchar(255) DEFAULT '', "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 'f' NOT NULL)
313
+  (0.0ms) PRAGMA index_list("altered_people")
314
+  (0.2ms) SELECT * FROM "altered_people"
315
+  (0.2ms) DROP TABLE "altered_people"
316
+  (0.4ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "activation_code" varchar(40), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer, "persistence_token" varchar(255) DEFAULT '' NOT NULL, "people" varchar(255) DEFAULT '', "perishable_token" varchar(255) DEFAULT '', "string" varchar(255) DEFAULT '', "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 'f' NOT NULL)
317
+  (0.1ms) PRAGMA index_list("people")
318
+  (0.3ms) SELECT * FROM "people"
319
+  (0.2ms) DROP TABLE "people"
320
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer, "persistence_token" varchar(255) DEFAULT '' NOT NULL, "people" varchar(255) DEFAULT '', "perishable_token" varchar(255) DEFAULT '', "string" varchar(255) DEFAULT '', "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 'f' NOT NULL)
321
+  (0.0ms) PRAGMA index_list("altered_people")
322
+  (0.2ms) SELECT * FROM "altered_people"
323
+  (0.2ms) DROP TABLE "altered_people"
324
+  (0.3ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "remember_token_expires_at" datetime, "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer, "persistence_token" varchar(255) DEFAULT '' NOT NULL, "people" varchar(255) DEFAULT '', "perishable_token" varchar(255) DEFAULT '', "string" varchar(255) DEFAULT '', "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 'f' NOT NULL)
325
+  (0.0ms) PRAGMA index_list("people")
326
+  (1.5ms) SELECT * FROM "people"
327
+  (0.2ms) DROP TABLE "people"
328
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer, "persistence_token" varchar(255) DEFAULT '' NOT NULL, "people" varchar(255) DEFAULT '', "perishable_token" varchar(255) DEFAULT '', "string" varchar(255) DEFAULT '', "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 'f' NOT NULL)
329
+  (0.0ms) PRAGMA index_list("altered_people")
330
+  (0.2ms) SELECT * FROM "altered_people"
331
+  (0.2ms) DROP TABLE "altered_people"
332
+  (0.4ms) CREATE TEMPORARY TABLE "altered_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "activated_at" datetime, "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer, "persistence_token" varchar(255) DEFAULT '' NOT NULL, "people" varchar(255) DEFAULT '', "perishable_token" varchar(255) DEFAULT '', "string" varchar(255) DEFAULT '', "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 'f' NOT NULL)
333
+  (0.0ms) PRAGMA index_list("people")
334
+  (0.2ms) SELECT * FROM "people"
335
+  (0.2ms) DROP TABLE "people"
336
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer, "persistence_token" varchar(255) DEFAULT '' NOT NULL, "people" varchar(255) DEFAULT '', "perishable_token" varchar(255) DEFAULT '', "string" varchar(255) DEFAULT '', "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 'f' NOT NULL)
337
+  (0.0ms) PRAGMA index_list("altered_people")
338
+  (1.4ms) SELECT * FROM "altered_people"
339
+  (0.2ms) DROP TABLE "altered_people"
340
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101865')
341
+ Migrating to AddElementTypeToAttachmentsElements (20111024101866)
342
+  (0.5ms) ALTER TABLE "attachments_elements" ADD "element_type" varchar(255)
343
+  (0.2ms) ALTER TABLE "attachments_elements" ADD "attachment_type" varchar(255)
344
+  (0.3ms) CREATE TEMPORARY TABLE "altered_attachments_elements" ("attachment_id" integer, "element_id" integer, "position" integer, "element_type" varchar(255), "attachment_type" varchar(255)) 
345
+  (0.0ms) PRAGMA index_list("attachments_elements")
346
+  (0.1ms) SELECT * FROM "attachments_elements"
347
+  (0.3ms) DROP TABLE "attachments_elements"
348
+  (0.3ms) CREATE TABLE "attachments_elements" ("attachment_id" integer, "element_id" integer, "position" integer, "element_type" varchar(255), "attachment_type" varchar(255), "id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) 
349
+  (0.0ms) PRAGMA index_list("altered_attachments_elements")
350
+  (0.1ms) SELECT * FROM "altered_attachments_elements"
351
+  (0.2ms) DROP TABLE "altered_attachments_elements"
352
+  (0.3ms) ALTER TABLE "attachments_elements" RENAME TO "attachment_links"
353
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101866')
354
+ Migrating to CreateMetaInfoTranslations (20111024101867)
355
+  (0.4ms) CREATE TABLE "meta_info_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "meta_info_id" integer, "locale" varchar(255), "title" varchar(255), "description" text, "keywords" text, "created_at" datetime, "updated_at" datetime) 
356
+  (0.1ms) PRAGMA index_list("meta_info_translations")
357
+  (0.2ms) CREATE INDEX "index_meta_info_translations_on_meta_info_id" ON "meta_info_translations" ("meta_info_id")
358
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101867')
359
+ Migrating to CreateCategoryTranslations (20111024101868)
360
+  (0.5ms) CREATE TABLE "category_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "locale" varchar(255), "url" varchar(255), "name" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) 
361
+  (0.1ms) PRAGMA index_list("category_translations")
362
+  (0.2ms) CREATE INDEX "index_category_translations_on_category_id" ON "category_translations" ("category_id")
363
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101868')
364
+ Migrating to RemoveTranslationsToMetaInfo (20111024101869)
365
+  (0.2ms) CREATE TEMPORARY TABLE "altered_meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "keywords" text, "target_id" integer, "target_type" varchar(255)) 
366
+  (0.0ms) PRAGMA index_list("meta_infos")
367
+  (0.3ms) SELECT * FROM "meta_infos"
368
+  (0.2ms) DROP TABLE "meta_infos"
369
+  (0.2ms) CREATE TABLE "meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "keywords" text, "target_id" integer, "target_type" varchar(255)) 
370
+  (0.0ms) PRAGMA index_list("altered_meta_infos")
371
+  (0.1ms) SELECT * FROM "altered_meta_infos"
372
+  (0.2ms) DROP TABLE "altered_meta_infos"
373
+  (0.2ms) CREATE TEMPORARY TABLE "altered_meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "keywords" text, "target_id" integer, "target_type" varchar(255)) 
374
+  (0.0ms) PRAGMA index_list("meta_infos")
375
+  (0.1ms) SELECT * FROM "meta_infos"
376
+  (0.3ms) DROP TABLE "meta_infos"
377
+  (0.3ms) CREATE TABLE "meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "target_id" integer, "target_type" varchar(255)) 
378
+  (0.0ms) PRAGMA index_list("altered_meta_infos")
379
+  (0.1ms) SELECT * FROM "altered_meta_infos"
380
+  (0.2ms) DROP TABLE "altered_meta_infos"
381
+  (0.2ms) CREATE TEMPORARY TABLE "altered_meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "target_id" integer, "target_type" varchar(255)) 
382
+  (0.0ms) PRAGMA index_list("meta_infos")
383
+  (0.4ms) SELECT * FROM "meta_infos"
384
+  (0.2ms) DROP TABLE "meta_infos"
385
+  (0.2ms) CREATE TABLE "meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "target_id" integer, "target_type" varchar(255)) 
386
+  (0.0ms) PRAGMA index_list("altered_meta_infos")
387
+  (0.1ms) SELECT * FROM "altered_meta_infos"
388
+  (0.2ms) DROP TABLE "altered_meta_infos"
389
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101869')
390
+ Migrating to RemoveTranslationsToCategories (20111024101870)
391
+  (0.3ms) CREATE TEMPORARY TABLE "altered_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime)
392
+  (0.0ms) PRAGMA index_list("categories")
393
+  (0.1ms) SELECT * FROM "categories"
394
+  (0.2ms) DROP TABLE "categories"
395
+  (0.3ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime)
396
+  (0.0ms) PRAGMA index_list("altered_categories")
397
+  (0.1ms) SELECT * FROM "altered_categories"
398
+  (0.2ms) DROP TABLE "altered_categories"
399
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101870')
400
+ Migrating to AddIndexOnCategories (20111024101871)
401
+  (0.1ms) PRAGMA index_list("categories_elements")
402
+  (0.3ms) CREATE UNIQUE INDEX "index_categories_elements_on_category_id_and_element_id" ON "categories_elements" ("category_id", "element_id")
403
+  (0.3ms) CREATE TEMPORARY TABLE "altered_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime) 
404
+  (0.0ms) PRAGMA index_list("categories")
405
+  (0.1ms) SELECT * FROM "categories"
406
+  (0.3ms) DROP TABLE "categories"
407
+  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(45), "parent_id" integer, "created_at" datetime, "updated_at" datetime) 
408
+  (0.0ms) PRAGMA index_list("altered_categories")
409
+  (0.1ms) SELECT * FROM "altered_categories"
410
+  (0.2ms) DROP TABLE "altered_categories"
411
+  (0.0ms) PRAGMA index_list("categories")
412
+  (0.3ms) CREATE UNIQUE INDEX "index_categories_on_id_and_type" ON "categories" ("id", "type")
413
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101871')
414
+ Migrating to CreateImportSets (20111024101872)
415
+  (0.4ms) CREATE TABLE "import_sets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "fields" text, "parser_options" text, "ignore_first_row" boolean DEFAULT 't' NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
416
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101872')
417
+ Migrating to AddDeltaToPerson (20111024101873)
418
+  (0.4ms) ALTER TABLE "people" ADD "delta" boolean DEFAULT 't' NOT NULL
419
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101873')
420
+ Migrating to AddPositionToCategoriesElements (20111024101874)
421
+  (0.5ms) ALTER TABLE "categories_elements" ADD "position" integer DEFAULT 0 NOT NULL
422
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101874')
423
+ Migrating to AddPositionToCategoriesx (20111024101875)
424
+  (0.4ms) ALTER TABLE "categories" ADD "position" int DEFAULT 0
425
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101875')
426
+ Migrating to AddDescriptionAndAltToAttachments (20111024101876)
427
+  (0.4ms) ALTER TABLE "attachments" ADD "description" text
428
+  (0.3ms) ALTER TABLE "attachments" ADD "alt" varchar(255)
429
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101876')
430
+ Migrating to AddAttachmentsToSettings (20111024101877)
431
+  (0.4ms) ALTER TABLE "settings" ADD "attachments" text
432
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101877')
433
+ Migrating to CreateDelayedJobs (20111024101878)
434
+  (0.4ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime) 
435
+  (0.0ms) PRAGMA index_list("delayed_jobs")
436
+  (0.2ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
437
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111024101878')
438
+  (0.8ms) select sqlite_version(*)
439
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
440
+  (0.1ms) PRAGMA index_list("addresses")
441
+  (0.0ms) PRAGMA index_list("attachment_links")
442
+  (0.0ms) PRAGMA index_list("attachments")
443
+  (0.1ms) PRAGMA index_list("categories")
444
+  (0.1ms) PRAGMA index_info('index_categories_on_id_and_type')
445
+  (0.1ms) PRAGMA index_list("categories_elements")
446
+  (0.1ms) PRAGMA index_info('index_categories_elements_on_category_id_and_element_id')
447
+  (0.1ms) PRAGMA index_list("category_translations")
448
+  (0.1ms) PRAGMA index_info('index_category_translations_on_category_id')
449
+  (0.1ms) PRAGMA index_list("comments")
450
+  (0.1ms) PRAGMA index_info('fk_comments_person')
451
+  (0.1ms) PRAGMA index_list("delayed_jobs")
452
+  (0.1ms) PRAGMA index_info('delayed_jobs_priority')
453
+  (0.0ms) PRAGMA index_list("geo_zones")
454
+  (0.0ms) PRAGMA index_list("import_sets")
455
+  (0.1ms) PRAGMA index_list("meta_info_translations")
456
+  (0.1ms) PRAGMA index_info('index_meta_info_translations_on_meta_info_id')
457
+  (0.0ms) PRAGMA index_list("meta_infos")
458
+  (0.0ms) PRAGMA index_list("people")
459
+  (0.0ms) PRAGMA index_list("rights")
460
+  (0.0ms) PRAGMA index_list("rights_roles")
461
+  (0.0ms) PRAGMA index_list("roles")
462
+  (0.0ms) PRAGMA index_list("rules")
463
+  (0.0ms) PRAGMA index_list("search_keywords")
464
+  (0.0ms) PRAGMA index_list("settings")
465
+  (0.0ms) PRAGMA index_list("statistic_counters")
466
+  (0.1ms) PRAGMA index_list("taggings")
467
+  (0.1ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
468
+  (0.1ms) PRAGMA index_info('index_taggings_on_tag_id')
469
+  (0.1ms) PRAGMA index_list("tags")
470
+ Setting Load (0.2ms) SELECT "settings".* FROM "settings" LIMIT 1
471
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
472
+  (0.2ms) select sqlite_version(*)
473
+  (7.1ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "address_2" varchar(255), "zip_code" varchar(255), "city" varchar(255), "type" varchar(255), "country_id" integer, "person_id" integer, "created_at" datetime, "updated_at" datetime)
474
+  (4.1ms) CREATE TABLE "attachment_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachment_id" integer, "element_id" integer, "position" integer, "element_type" varchar(255), "attachment_type" varchar(255)) 
475
+  (6.6ms) CREATE TABLE "attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content_type" varchar(255), "name" varchar(255), "filename" varchar(255), "alternative" varchar(255), "thumbnail" varchar(255), "type" varchar(255), "height" integer, "width" integer, "size" integer, "parent_id" integer, "person_id" integer, "created_at" datetime, "updated_at" datetime, "description" text, "alt" varchar(255))
476
+  (6.9ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(45), "parent_id" integer, "created_at" datetime, "updated_at" datetime, "position" integer DEFAULT 0) 
477
+  (0.1ms) PRAGMA index_list("categories")
478
+  (6.1ms) CREATE UNIQUE INDEX "index_categories_on_id_and_type" ON "categories" ("id", "type")
479
+  (6.5ms) CREATE TABLE "categories_elements" ("category_id" integer, "element_id" integer, "position" integer DEFAULT 0 NOT NULL)
480
+  (0.0ms) PRAGMA index_list("categories_elements")
481
+  (4.9ms) CREATE UNIQUE INDEX "index_categories_elements_on_category_id_and_element_id" ON "categories_elements" ("category_id", "element_id")
482
+  (7.5ms) CREATE TABLE "category_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "locale" varchar(255), "url" varchar(255), "name" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) 
483
+  (0.0ms) PRAGMA index_list("category_translations")
484
+  (6.1ms) CREATE INDEX "index_category_translations_on_category_id" ON "category_translations" ("category_id")
485
+  (6.9ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(50) DEFAULT '', "comment" text, "commentable_id" integer, "commentable_type" varchar(255), "person_id" integer, "created_at" datetime, "updated_at" datetime)
486
+  (0.0ms) PRAGMA index_list("comments")
487
+  (8.0ms) CREATE INDEX "fk_comments_person" ON "comments" ("person_id")
488
+  (5.4ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime) 
489
+  (0.0ms) PRAGMA index_list("delayed_jobs")
490
+  (6.5ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
491
+  (6.7ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "iso" varchar(255), "iso3" varchar(255), "name" varchar(255), "printable_name" varchar(255), "type" varchar(255), "numcode" integer, "parent_id" integer)
492
+  (10.9ms) CREATE TABLE "import_sets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "fields" text, "parser_options" text, "ignore_first_row" boolean DEFAULT 't' NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
493
+  (5.4ms) CREATE TABLE "meta_info_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "meta_info_id" integer, "locale" varchar(255), "title" varchar(255), "description" text, "keywords" text, "created_at" datetime, "updated_at" datetime)
494
+  (0.1ms) PRAGMA index_list("meta_info_translations")
495
+  (7.5ms) CREATE INDEX "index_meta_info_translations_on_meta_info_id" ON "meta_info_translations" ("meta_info_id")
496
+  (6.8ms) CREATE TABLE "meta_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "target_id" integer, "target_type" varchar(255)) 
497
+  (7.0ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "firstname" varchar(255), "lastname" varchar(255), "type" varchar(255), "phone" varchar(255), "other_phone" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "crypted_password" varchar(128), "password_salt" varchar(128), "avatar_id" integer, "country_id" integer, "role_id" integer, "birthday" date, "created_at" datetime, "updated_at" datetime, "civility" integer, "persistence_token" varchar(255) DEFAULT '' NOT NULL, "people" varchar(255) DEFAULT '', "perishable_token" varchar(255) DEFAULT '', "string" varchar(255) DEFAULT '', "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 'f' NOT NULL, "delta" boolean DEFAULT 't' NOT NULL)
498
+  (5.6ms) CREATE TABLE "rights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "controller_name" varchar(255), "action_name" varchar(255)) 
499
+  (6.5ms) CREATE TABLE "rights_roles" ("right_id" integer, "role_id" integer)
500
+  (5.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "active" boolean DEFAULT 't' NOT NULL, "created_at" datetime, "updated_at" datetime) 
501
+  (7.1ms) CREATE TABLE "rules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "conditions" text, "description" text, "variables" text, "use" integer DEFAULT 0 NOT NULL, "max_use" integer DEFAULT 0 NOT NULL, "name" varchar(255), "type" varchar(255), "code" varchar(255), "active" boolean DEFAULT 't' NOT NULL, "parent_id" integer)
502
+  (7.7ms) CREATE TABLE "search_keywords" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "keyword" varchar(255), "created_at" datetime, "updated_at" datetime) 
503
+  (7.1ms) CREATE TABLE "settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "lang" varchar(255), "time_zone" varchar(255), "phone_number" varchar(255), "fax_number" varchar(255), "email" varchar(255), "mailer" text NOT NULL, "smtp_settings" text NOT NULL, "sendmail_settings" text NOT NULL, "address_id" integer, "attachments" text)
504
+  (4.7ms) CREATE TABLE "statistic_counters" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "date" date, "counter" integer DEFAULT 1, "element_id" integer, "element_type" varchar(255)) 
505
+  (6.7ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime)
506
+  (0.0ms) PRAGMA index_list("taggings")
507
+  (6.3ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
508
+  (0.1ms) PRAGMA index_list("taggings")
509
+  (0.1ms) PRAGMA index_info('index_taggings_on_tag_id')
510
+  (5.3ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
511
+  (7.1ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
512
+  (6.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
513
+  (0.0ms) PRAGMA index_list("schema_migrations")
514
+  (6.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
515
+  (0.1ms) SELECT version FROM "schema_migrations"
516
+  (6.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101878')
517
+  (5.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101848')
518
+  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101873')
519
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101851')
520
+  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101861')
521
+  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101849')
522
+  (5.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101864')
523
+  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101852')
524
+  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101869')
525
+  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101867')
526
+  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101868')
527
+  (5.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101862')
528
+  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101855')
529
+  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101863')
530
+  (5.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101853')
531
+  (6.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101860')
532
+  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101874')
533
+  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101872')
534
+  (6.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101850')
535
+  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101870')
536
+  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101876')
537
+  (5.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101875')
538
+  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101865')
539
+  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101877')
540
+  (5.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101871')
541
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101857')
542
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101856')
543
+  (5.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101858')
544
+  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101859')
545
+  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101866')
546
+  (6.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20111024101854')