|
11 | 11 | #
|
12 | 12 | # It's strongly recommended that you check this file into your version control system.
|
13 | 13 |
|
14 |
| -ActiveRecord::Schema.define(version: 20140613182531) do |
| 14 | +ActiveRecord::Schema.define(version: 20140616162347) do |
15 | 15 |
|
16 | 16 | create_table "spree_addresses", force: true do |t|
|
17 | 17 | t.string "firstname"
|
|
176 | 176 | t.datetime "updated_at"
|
177 | 177 | end
|
178 | 178 |
|
| 179 | + create_table "spree_option_type_translations", force: true do |t| |
| 180 | + t.integer "spree_option_type_id" |
| 181 | + t.string "locale" |
| 182 | + t.datetime "created_at" |
| 183 | + t.datetime "updated_at" |
| 184 | + t.string "name" |
| 185 | + t.string "presentation" |
| 186 | + end |
| 187 | + |
| 188 | + add_index "spree_option_type_translations", ["locale"], name: "index_spree_option_type_translations_on_locale" |
| 189 | + add_index "spree_option_type_translations", ["spree_option_type_id"], name: "index_spree_option_type_translations_on_spree_option_type_id" |
| 190 | + |
179 | 191 | create_table "spree_option_types", force: true do |t|
|
180 | 192 | t.string "name", limit: 100
|
181 | 193 | t.string "presentation", limit: 100
|
|
189 | 201 | t.integer "option_type_id"
|
190 | 202 | end
|
191 | 203 |
|
| 204 | + create_table "spree_option_value_translations", force: true do |t| |
| 205 | + t.integer "spree_option_value_id" |
| 206 | + t.string "locale" |
| 207 | + t.datetime "created_at" |
| 208 | + t.datetime "updated_at" |
| 209 | + t.string "name" |
| 210 | + t.string "presentation" |
| 211 | + end |
| 212 | + |
| 213 | + add_index "spree_option_value_translations", ["locale"], name: "index_spree_option_value_translations_on_locale" |
| 214 | + add_index "spree_option_value_translations", ["spree_option_value_id"], name: "index_spree_option_value_translations_on_spree_option_value_id" |
| 215 | + |
192 | 216 | create_table "spree_option_values", force: true do |t|
|
193 | 217 | t.integer "position"
|
194 | 218 | t.string "name"
|
|
334 | 358 |
|
335 | 359 | add_index "spree_product_properties", ["product_id"], name: "index_product_properties_on_product_id"
|
336 | 360 |
|
| 361 | + create_table "spree_product_translations", force: true do |t| |
| 362 | + t.integer "spree_product_id" |
| 363 | + t.string "locale" |
| 364 | + t.datetime "created_at" |
| 365 | + t.datetime "updated_at" |
| 366 | + t.string "name" |
| 367 | + t.text "description" |
| 368 | + t.string "meta_description" |
| 369 | + t.string "meta_keywords" |
| 370 | + t.string "slug" |
| 371 | + end |
| 372 | + |
| 373 | + add_index "spree_product_translations", ["locale"], name: "index_spree_product_translations_on_locale" |
| 374 | + add_index "spree_product_translations", ["spree_product_id"], name: "index_spree_product_translations_on_spree_product_id" |
| 375 | + |
337 | 376 | create_table "spree_products", force: true do |t|
|
338 | 377 | t.string "name", default: "", null: false
|
339 | 378 | t.text "description"
|
|
378 | 417 | end
|
379 | 418 |
|
380 | 419 | create_table "spree_promotion_actions", force: true do |t|
|
381 |
| - t.integer "promotion_id" |
382 |
| - t.integer "position" |
383 |
| - t.string "type" |
| 420 | + t.integer "promotion_id" |
| 421 | + t.integer "position" |
| 422 | + t.string "type" |
| 423 | + t.datetime "deleted_at" |
384 | 424 | end
|
385 | 425 |
|
| 426 | + add_index "spree_promotion_actions", ["deleted_at"], name: "index_spree_promotion_actions_on_deleted_at" |
386 | 427 | add_index "spree_promotion_actions", ["id", "type"], name: "index_spree_promotion_actions_on_id_and_type"
|
387 | 428 | add_index "spree_promotion_actions", ["promotion_id"], name: "index_spree_promotion_actions_on_promotion_id"
|
388 | 429 |
|
|
407 | 448 | add_index "spree_promotion_rules_users", ["promotion_rule_id"], name: "index_promotion_rules_users_on_promotion_rule_id"
|
408 | 449 | add_index "spree_promotion_rules_users", ["user_id"], name: "index_promotion_rules_users_on_user_id"
|
409 | 450 |
|
| 451 | + create_table "spree_promotion_translations", force: true do |t| |
| 452 | + t.integer "spree_promotion_id" |
| 453 | + t.string "locale" |
| 454 | + t.datetime "created_at" |
| 455 | + t.datetime "updated_at" |
| 456 | + t.string "name" |
| 457 | + t.string "description" |
| 458 | + end |
| 459 | + |
| 460 | + add_index "spree_promotion_translations", ["locale"], name: "index_spree_promotion_translations_on_locale" |
| 461 | + add_index "spree_promotion_translations", ["spree_promotion_id"], name: "index_spree_promotion_translations_on_spree_promotion_id" |
| 462 | + |
410 | 463 | create_table "spree_promotions", force: true do |t|
|
411 | 464 | t.string "description"
|
412 | 465 | t.datetime "expires_at"
|
|
436 | 489 | t.integer "property_id"
|
437 | 490 | end
|
438 | 491 |
|
| 492 | + create_table "spree_property_translations", force: true do |t| |
| 493 | + t.integer "spree_property_id" |
| 494 | + t.string "locale" |
| 495 | + t.datetime "created_at" |
| 496 | + t.datetime "updated_at" |
| 497 | + t.string "name" |
| 498 | + t.string "presentation" |
| 499 | + end |
| 500 | + |
| 501 | + add_index "spree_property_translations", ["locale"], name: "index_spree_property_translations_on_locale" |
| 502 | + add_index "spree_property_translations", ["spree_property_id"], name: "index_spree_property_translations_on_spree_property_id" |
| 503 | + |
439 | 504 | create_table "spree_prototypes", force: true do |t|
|
440 | 505 | t.string "name"
|
441 | 506 | t.datetime "created_at"
|
|
638 | 703 | t.datetime "deleted_at"
|
639 | 704 | end
|
640 | 705 |
|
| 706 | + create_table "spree_taxon_translations", force: true do |t| |
| 707 | + t.integer "spree_taxon_id" |
| 708 | + t.string "locale" |
| 709 | + t.datetime "created_at" |
| 710 | + t.datetime "updated_at" |
| 711 | + t.string "name" |
| 712 | + t.text "description" |
| 713 | + t.string "meta_title" |
| 714 | + t.string "meta_description" |
| 715 | + t.string "meta_keywords" |
| 716 | + t.string "permalink" |
| 717 | + end |
| 718 | + |
| 719 | + add_index "spree_taxon_translations", ["locale"], name: "index_spree_taxon_translations_on_locale" |
| 720 | + add_index "spree_taxon_translations", ["spree_taxon_id"], name: "index_spree_taxon_translations_on_spree_taxon_id" |
| 721 | + |
641 | 722 | create_table "spree_taxonomies", force: true do |t|
|
642 | 723 | t.string "name", null: false
|
643 | 724 | t.datetime "created_at"
|
644 | 725 | t.datetime "updated_at"
|
645 | 726 | t.integer "position", default: 0
|
646 | 727 | end
|
647 | 728 |
|
| 729 | + create_table "spree_taxonomy_translations", force: true do |t| |
| 730 | + t.integer "spree_taxonomy_id" |
| 731 | + t.string "locale" |
| 732 | + t.datetime "created_at" |
| 733 | + t.datetime "updated_at" |
| 734 | + t.string "name" |
| 735 | + end |
| 736 | + |
| 737 | + add_index "spree_taxonomy_translations", ["locale"], name: "index_spree_taxonomy_translations_on_locale" |
| 738 | + add_index "spree_taxonomy_translations", ["spree_taxonomy_id"], name: "index_spree_taxonomy_translations_on_spree_taxonomy_id" |
| 739 | + |
648 | 740 | create_table "spree_taxons", force: true do |t|
|
649 | 741 | t.integer "parent_id"
|
650 | 742 | t.integer "position", default: 0
|
|
0 commit comments