quiz

Full-stack dev quiz question #61

Full-stack dev quiz question #61/span>quiz

You may create a primary key in a few different ways using Liquibase. Do you know which Liquibase changes support autorollback and which don't? Check sixty first question of full-stack dev quiz to test your knowledge.

Autorollback in Liquibase is a feature that allows automatically generate a rollback SQL script for a particular change. Some Liquibase changes support it. For those, Liquibase will take care of everything during a rollback. But some changes do not. Then you have to write your own rollback script if you would like to have it just in case of a rollback. Which of the following changes related to primary keys support autorollback? Choose all valid answers.

  1. createTable
  2. dropTable
  3. addPrimaryKey
  4. dropPrimaryKey

For the correct answer scroll down

.

.

 

 

 

 

 

 

 

 

 

 

Do not miss valuable content. You will receive a monthly summary email. You can unsubscribe anytime.

 

 

 

 

 

 

 

 

 

 

 

 

 

.

.

.

The correct answer is: a, c. If you would like to read more, check Create and manage primary keys article.