To enable database migrations in Flask, the ____ extension can be used.
- Flask-Database
- Flask-Migrate
- Flask-ORM
- Flask-SQLAlchemy
To enable database migrations in Flask, the Flask-Migrate extension is used. Flask-Migrate is an extension that integrates the Alembic database migration framework with Flask applications, allowing you to manage database schema changes easily.
Loading...
Related Quiz
- When using the setdefault method on a dictionary, what happens if the provided key already exists in the dictionary?
- What is the purpose of the import keyword in Python?
- How can you create a new instance of a custom class and assign it to a variable in Python?
- Given a scenario where a system should notify a user if the storage space goes below 5% or above 95%. Which of the following combinations of operators will be suitable for the condition?
- How would you replace all NaN values in a DataFrame with zeros in Pandas?