A developer needs to add a new table to the database without disrupting the existing data. The first step they should take is to create a ________.
- Controller
- Migration
- Model
- View
In CodeIgniter, when adding a new table to the database without disrupting existing data, developers should create a migration. Migrations allow for version control of the database schema, enabling easy management of changes while preserving data integrity.
Loading...
Related Quiz
- What is the primary purpose of error handling in CodeIgniter?
- In CodeIgniter, how can you redirect the user to a different method within the same controller?
- The assertion method used to check if a function returns a boolean true is called ________.
- Which file needs to be modified to autoload a custom library in CodeIgniter?
- In CodeIgniter, how can you extend the session timeout for a user?