Commit 4c5fccb6249ba4616c0cf4c4f904217df55f13c5

Authored by Rodrigo Souto
1 parent f6eb6fd1

db-schema: remove plugin operations mistakenly added

Showing 1 changed file with 3 additions and 78 deletions   Show diff stats
@@ -147,7 +147,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -147,7 +147,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
147 add_index "articles", ["profile_id"], :name => "index_articles_on_profile_id" 147 add_index "articles", ["profile_id"], :name => "index_articles_on_profile_id"
148 add_index "articles", ["slug"], :name => "index_articles_on_slug" 148 add_index "articles", ["slug"], :name => "index_articles_on_slug"
149 add_index "articles", ["translation_of_id"], :name => "index_articles_on_translation_of_id" 149 add_index "articles", ["translation_of_id"], :name => "index_articles_on_translation_of_id"
150 - add_index "articles", [nil], :name => "pg_search_plugin_article"  
151 150
152 create_table "articles_categories", :id => false, :force => true do |t| 151 create_table "articles_categories", :id => false, :force => true do |t|
153 t.integer "article_id" 152 t.integer "article_id"
@@ -201,8 +200,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -201,8 +200,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
201 t.string "abbreviation" 200 t.string "abbreviation"
202 end 201 end
203 202
204 - add_index "categories", [nil], :name => "pg_search_plugin_category"  
205 -  
206 create_table "categories_profiles", :id => false, :force => true do |t| 203 create_table "categories_profiles", :id => false, :force => true do |t|
207 t.integer "profile_id" 204 t.integer "profile_id"
208 t.integer "category_id" 205 t.integer "category_id"
@@ -221,8 +218,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -221,8 +218,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
221 t.datetime "updated_at" 218 t.datetime "updated_at"
222 end 219 end
223 220
224 - add_index "certifiers", [nil], :name => "pg_search_plugin_certifier"  
225 -  
226 create_table "comments", :force => true do |t| 221 create_table "comments", :force => true do |t|
227 t.string "title" 222 t.string "title"
228 t.text "body" 223 t.text "body"
@@ -241,7 +236,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -241,7 +236,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
241 end 236 end
242 237
243 add_index "comments", ["source_id", "spam"], :name => "index_comments_on_source_id_and_spam" 238 add_index "comments", ["source_id", "spam"], :name => "index_comments_on_source_id_and_spam"
244 - add_index "comments", [nil], :name => "pg_search_plugin_comment"  
245 239
246 create_table "contact_lists", :force => true do |t| 240 create_table "contact_lists", :force => true do |t|
247 t.text "list" 241 t.text "list"
@@ -251,50 +245,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -251,50 +245,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
251 t.datetime "updated_at" 245 t.datetime "updated_at"
252 end 246 end
253 247
254 - create_table "custom_forms_plugin_answers", :force => true do |t|  
255 - t.text "value"  
256 - t.integer "field_id"  
257 - t.integer "submission_id"  
258 - end  
259 -  
260 - create_table "custom_forms_plugin_fields", :force => true do |t|  
261 - t.string "name"  
262 - t.string "slug"  
263 - t.string "type"  
264 - t.string "default_value"  
265 - t.string "choices"  
266 - t.float "minimum"  
267 - t.float "maximum"  
268 - t.integer "form_id"  
269 - t.boolean "mandatory", :default => false  
270 - t.boolean "multiple"  
271 - t.boolean "list"  
272 - t.integer "position", :default => 0  
273 - end  
274 -  
275 - create_table "custom_forms_plugin_forms", :force => true do |t|  
276 - t.string "name"  
277 - t.string "slug"  
278 - t.text "description"  
279 - t.integer "profile_id"  
280 - t.datetime "begining"  
281 - t.datetime "ending"  
282 - t.boolean "report_submissions", :default => false  
283 - t.boolean "on_membership", :default => false  
284 - t.string "access"  
285 - t.datetime "created_at"  
286 - t.datetime "updated_at"  
287 - end  
288 -  
289 - create_table "custom_forms_plugin_submissions", :force => true do |t|  
290 - t.string "author_name"  
291 - t.string "author_email"  
292 - t.integer "profile_id"  
293 - t.integer "form_id"  
294 - t.datetime "created_at"  
295 - t.datetime "updated_at"  
296 - end  
297 -  
298 create_table "delayed_jobs", :force => true do |t| 248 create_table "delayed_jobs", :force => true do |t|
299 t.integer "priority", :default => 0 249 t.integer "priority", :default => 0
300 t.integer "attempts", :default => 0 250 t.integer "attempts", :default => 0
@@ -335,8 +285,8 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -335,8 +285,8 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
335 t.text "signup_welcome_text" 285 t.text "signup_welcome_text"
336 t.string "languages" 286 t.string "languages"
337 t.string "default_language" 287 t.string "default_language"
338 - t.string "redirection_after_signup", :default => "keep_on_same_page"  
339 t.string "noreply_email" 288 t.string "noreply_email"
  289 + t.string "redirection_after_signup", :default => "keep_on_same_page"
340 end 290 end
341 291
342 create_table "external_feeds", :force => true do |t| 292 create_table "external_feeds", :force => true do |t|
@@ -361,10 +311,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -361,10 +311,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
361 t.integer "enterprise_id" 311 t.integer "enterprise_id"
362 end 312 end
363 313
364 - create_table "foo_plugin_bars", :force => true do |t|  
365 - t.string "name"  
366 - end  
367 -  
368 create_table "friendships", :force => true do |t| 314 create_table "friendships", :force => true do |t|
369 t.integer "person_id" 315 t.integer "person_id"
370 t.integer "friend_id" 316 t.integer "friend_id"
@@ -410,8 +356,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -410,8 +356,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
410 t.integer "environment_id", :null => false 356 t.integer "environment_id", :null => false
411 end 357 end
412 358
413 - add_index "licenses", [nil], :name => "pg_search_plugin_license"  
414 -  
415 create_table "mailing_sents", :force => true do |t| 359 create_table "mailing_sents", :force => true do |t|
416 t.integer "mailing_id" 360 t.integer "mailing_id"
417 t.integer "person_id" 361 t.integer "person_id"
@@ -446,7 +390,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -446,7 +390,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
446 390
447 add_index "national_regions", ["name"], :name => "name_index" 391 add_index "national_regions", ["name"], :name => "name_index"
448 add_index "national_regions", ["national_region_code"], :name => "code_index" 392 add_index "national_regions", ["national_region_code"], :name => "code_index"
449 - add_index "national_regions", [nil], :name => "pg_search_plugin_nationalregion"  
450 393
451 create_table "price_details", :force => true do |t| 394 create_table "price_details", :force => true do |t|
452 t.decimal "price", :default => 0.0 395 t.decimal "price", :default => 0.0
@@ -531,11 +474,11 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -531,11 +474,11 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
531 t.boolean "is_template", :default => false 474 t.boolean "is_template", :default => false
532 t.integer "template_id" 475 t.integer "template_id"
533 t.string "redirection_after_login" 476 t.string "redirection_after_login"
534 - t.string "personal_website"  
535 - t.string "jabber_id"  
536 t.integer "friends_count", :default => 0, :null => false 477 t.integer "friends_count", :default => 0, :null => false
537 t.integer "members_count", :default => 0, :null => false 478 t.integer "members_count", :default => 0, :null => false
538 t.integer "activities_count", :default => 0, :null => false 479 t.integer "activities_count", :default => 0, :null => false
  480 + t.string "personal_website"
  481 + t.string "jabber_id"
539 end 482 end
540 483
541 add_index "profiles", ["activities_count"], :name => "index_profiles_on_activities_count" 484 add_index "profiles", ["activities_count"], :name => "index_profiles_on_activities_count"
@@ -545,7 +488,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -545,7 +488,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
545 add_index "profiles", ["identifier"], :name => "index_profiles_on_identifier" 488 add_index "profiles", ["identifier"], :name => "index_profiles_on_identifier"
546 add_index "profiles", ["members_count"], :name => "index_profiles_on_members_count" 489 add_index "profiles", ["members_count"], :name => "index_profiles_on_members_count"
547 add_index "profiles", ["region_id"], :name => "index_profiles_on_region_id" 490 add_index "profiles", ["region_id"], :name => "index_profiles_on_region_id"
548 - add_index "profiles", [nil], :name => "pg_search_plugin_profile"  
549 491
550 create_table "qualifier_certifiers", :force => true do |t| 492 create_table "qualifier_certifiers", :force => true do |t|
551 t.integer "qualifier_id" 493 t.integer "qualifier_id"
@@ -559,8 +501,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -559,8 +501,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
559 t.datetime "updated_at" 501 t.datetime "updated_at"
560 end 502 end
561 503
562 - add_index "qualifiers", [nil], :name => "pg_search_plugin_qualifier"  
563 -  
564 create_table "refused_join_community", :id => false, :force => true do |t| 504 create_table "refused_join_community", :id => false, :force => true do |t|
565 t.integer "person_id" 505 t.integer "person_id"
566 t.integer "community_id" 506 t.integer "community_id"
@@ -607,8 +547,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -607,8 +547,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
607 t.integer "context_id" 547 t.integer "context_id"
608 end 548 end
609 549
610 - add_index "scraps", [nil], :name => "pg_search_plugin_scrap"  
611 -  
612 create_table "sessions", :force => true do |t| 550 create_table "sessions", :force => true do |t|
613 t.string "session_id", :null => false 551 t.string "session_id", :null => false
614 t.text "data" 552 t.text "data"
@@ -668,19 +606,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do @@ -668,19 +606,6 @@ ActiveRecord::Schema.define(:version => 20140314200103) do
668 t.string "thumbnail" 606 t.string "thumbnail"
669 end 607 end
670 608
671 - create_table "tolerance_time_plugin_publications", :force => true do |t|  
672 - t.integer "target_id"  
673 - t.string "target_type"  
674 - t.datetime "created_at"  
675 - t.datetime "updated_at"  
676 - end  
677 -  
678 - create_table "tolerance_time_plugin_tolerances", :force => true do |t|  
679 - t.integer "profile_id"  
680 - t.integer "content_tolerance"  
681 - t.integer "comment_tolerance"  
682 - end  
683 -  
684 create_table "units", :force => true do |t| 609 create_table "units", :force => true do |t|
685 t.string "singular", :null => false 610 t.string "singular", :null => false
686 t.string "plural", :null => false 611 t.string "plural", :null => false