🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Runs each versioned migration once, in order, and records which ones have run
  2. B.Deletes and recreates the whole database on every start
  3. C.Generates Java entities from them
  4. 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 →