Changeset ad6b806 in RedSur
- Timestamp:
- May 25, 2016, 10:53:40 AM (8 years ago)
- Branches:
- modelo_minuta
- Children:
- 220994c
- Parents:
- 11a277a
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
app/models/poll.rb
r11a277a rad6b806 6 6 has_many :poll_answers, -> { order 'id ASC' } 7 7 has_many :poll_participations 8 has_many :poll_text_areas9 8 has_many :poll_responsables 10 9 has_many :poll_asistentes … … 34 33 :question => self.question, 35 34 :poll_answers => self.poll_answers, 36 :poll_text_areas => self.poll_text_areas,37 35 :poll_responsables => self.poll_responsables, 38 36 :poll_asistentes => self.poll_asistentes, -
db/migrate/20160519180221_add_poll_acuerdo_to_poll.rb
- Property mode changed from 100644 to 100755
-
db/migrate/20160519180240_add_poll_to_poll_acuerdo.rb
- Property mode changed from 100644 to 100755
-
db/schema.rb
r11a277a rad6b806 371 371 add_index "poll_asuntos", ["poll_id"], name: "index_poll_asuntos_on_poll_id", using: :btree 372 372 373 create_table "poll_fechayhoras", force: :cascade do |t|374 t.datetime "fechayhora"375 t.datetime "created_at", null: false376 t.datetime "updated_at", null: false377 end378 379 373 create_table "poll_participations", force: :cascade do |t| 380 374 t.integer "poll_answer_id", null: false … … 407 401 408 402 add_index "poll_responsables", ["poll_id"], name: "index_poll_responsables_on_poll_id", using: :btree 409 410 create_table "poll_seleccions", force: :cascade do |t|411 t.boolean "seleccion"412 t.datetime "created_at", null: false413 t.datetime "updated_at", null: false414 t.integer "poll_id"415 end416 417 add_index "poll_seleccions", ["poll_id"], name: "index_poll_seleccions_on_poll_id", using: :btree418 419 create_table "poll_text_area_largas", force: :cascade do |t|420 t.text "text"421 t.datetime "created_at", null: false422 t.datetime "updated_at", null: false423 t.integer "poll_id"424 end425 426 add_index "poll_text_area_largas", ["poll_id"], name: "index_poll_text_area_largas_on_poll_id", using: :btree427 428 create_table "poll_text_areas", force: :cascade do |t|429 t.text "text"430 t.datetime "created_at", null: false431 t.datetime "updated_at", null: false432 t.integer "poll_id"433 end434 435 add_index "poll_text_areas", ["poll_id"], name: "index_poll_text_areas_on_poll_id", using: :btree436 437 create_table "poll_text_fields", force: :cascade do |t|438 t.text "text"439 t.datetime "created_at", null: false440 t.datetime "updated_at", null: false441 t.integer "poll_id"442 end443 444 add_index "poll_text_fields", ["poll_id"], name: "index_poll_text_fields_on_poll_id", using: :btree445 403 446 404 create_table "polls", force: :cascade do |t| … … 712 670 add_foreign_key "poll_puntos", "polls" 713 671 add_foreign_key "poll_responsables", "polls" 714 add_foreign_key "poll_seleccions", "polls"715 add_foreign_key "poll_text_area_largas", "polls"716 add_foreign_key "poll_text_areas", "polls"717 add_foreign_key "poll_text_fields", "polls"718 672 add_foreign_key "polls", "polls" 719 673 add_foreign_key "posts", "people", column: "author_id", name: "posts_author_id_fk", on_delete: :cascade
Note: See TracChangeset
for help on using the changeset viewer.