mirror of
https://github.com/10h30/Test-Laravel-Migrations.git
synced 2026-07-11 19:05:54 +09:00
Task 2 - column after another column
This commit is contained in:
@@ -35,3 +35,12 @@ Test method `test_successful_foreign_key_tasks_comments()`.
|
||||
|
||||
---
|
||||
|
||||
## Task 2. Add Column after Another Column.
|
||||
|
||||
Folder `database/migrations/task2` contains migrations for users table: one for creating the table, and another one for adding a NEW field.
|
||||
That new field "surname" should be added in a particular order - after the "name" field.
|
||||
|
||||
Test method `test_column_added_to_the_table()`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user