Question

Suppose an object-relational mapping(ORM) library syncs a database from source code models. What is an advantage...

Suppose an object-relational mapping(ORM) library syncs a database from source code models. What is an advantage of supporting migrations of existing tables?

1. To populate text fixtures

2. To guarantee test database schemas match the production schema

3. Faster creation of test databases

4. To allow additional constraints on the tables

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Option (2) is the correct answer.

If an object-relational mapping(ORM) library syncs a database from source code models. The advantage of supporting migrations of existing tables is that it will ensure that the test database schemas match the production schemas.

Migration of existing tables will not provide text fixtures. It will not increase the test database creation speed. It will not allow additional constraints on the tables. So, other given options are incorrect.

Hope this helps.

Add a comment
Know the answer?
Add Answer to:
Suppose an object-relational mapping(ORM) library syncs a database from source code models. What is an advantage...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT