mirror of
https://github.com/10h30/Test-Laravel-Migrations.git
synced 2026-07-11 19:05:54 +09:00
Rename column
This commit is contained in:
@@ -103,3 +103,11 @@ Test method `test_renamed_table()`.
|
||||
|
||||
---
|
||||
|
||||
## Task 9. Rename column
|
||||
|
||||
Folder `database/migrations/task9` contains a migration for companies table. Later it was decided to rename the column from "companies.title" to "companies.name". Write the code for that, in the second migration file.
|
||||
|
||||
Test method `test_renamed_column()`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user