Skip to content

Commit

Permalink
🗃️ Ajoute le champs demmarage_audio_consigne à une question pour savo…
Browse files Browse the repository at this point in the history
…ir quelle transcription doit être lue en priorité
  • Loading branch information
marouria committed Nov 26, 2024
1 parent fcf73ba commit 4de400b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AjouteDemarrageAudioModaliteReponseAQuestion < ActiveRecord::Migration[7.2]
def change
add_column :questions, :demarrage_audio_modalite_reponse, :boolean, default: false
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2024_11_22_062224) do
ActiveRecord::Schema[7.2].define(version: 2024_11_26_062724) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
enable_extension "plpgsql"
Expand Down Expand Up @@ -310,6 +310,7 @@
t.string "categorie"
t.text "texte_sur_illustration"
t.text "texte_a_trous"
t.boolean "demarrage_audio_modalite_reponse", default: false
t.index ["deleted_at"], name: "index_questions_on_deleted_at"
t.index ["libelle"], name: "index_questions_on_libelle"
t.index ["nom_technique"], name: "index_questions_on_nom_technique", unique: true, where: "(deleted_at IS NULL)"
Expand Down
Binary file modified docs/erd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4de400b

Please sign in to comment.