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

.

.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.

.

.

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

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.