← Quiz: Docs and Production: all 10 questions
Quiz: Docs and Production · Question 10 of 10
What does Flyway do with files named V1createcourse.sql, V2addstudent.sql?
What does Flyway do with files named V1__create_course.sql, V2__add_student.sql?
- A.Runs each versioned migration once, in order, and records which ones have run
- B.Deletes and recreates the whole database on every start
- C.Generates Java entities from them
- D.Runs them only in tests
Answer & explanation
Correct answer: Runs each versioned migration once, in order, and records which ones have run
Versioned migrations keep every database in the same known state.
Can you get the rest right without peeking?
Take the timed Quiz: Docs and Production quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →