Rename column

This commit is contained in:
PovilasKorop
2021-11-09 11:05:49 +02:00
parent 57f6333ea3
commit 0140f00c32
4 changed files with 81 additions and 0 deletions
+8
View File
@@ -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()`.
---