Created
November 26, 2017 15:45
-
-
Save kargirwar/0bd312a8750c593ca8383b947002968a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function change() | |
{ | |
$table = $this->table('photographers'); | |
$table->addColumn('name', 'string', ['length' => 200]) | |
->addColumn('phone', 'string', ['length' => 10]) | |
->create(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment