diff options
author | Marius Peter <marius.peter@tutanota.com> | 2025-01-01 17:50:51 +0100 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2025-01-01 17:50:51 +0100 |
commit | 24fc1ac1c4bbb3e9630357b8c845698b420881af (patch) | |
tree | b788166832e653b646ecba9521ff9c9523635f15 /db/schema.rb | |
parent | e5bf7d1527491af4663c203ec17697e8855b650f (diff) |
New migrations.
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 4be092f..e750699 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,14 +10,17 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[8.0].define(version: 2024_12_31_134759) do +ActiveRecord::Schema[8.0].define(version: 2025_01_01_160120) do create_table "scores", force: :cascade do |t| t.integer "tartiflette_id", null: false t.integer "scoring_criterium_id", null: false t.integer "value" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.string "session_id", null: false t.index ["scoring_criterium_id"], name: "index_scores_on_scoring_criterium_id" + t.index ["session_id"], name: "index_scores_on_session_id" + t.index ["tartiflette_id", "scoring_criterium_id", "session_id"], name: "index_scores_on_tartiflette_criterium_session", unique: true t.index ["tartiflette_id"], name: "index_scores_on_tartiflette_id" end |