Skip to content

Instantly share code, notes, and snippets.

@kargirwar
Last active November 27, 2017 03:44
Show Gist options
  • Save kargirwar/4278c7a310266c2c7a9b4a14c19dc29d to your computer and use it in GitHub Desktop.
Save kargirwar/4278c7a310266c2c7a9b4a14c19dc29d to your computer and use it in GitHub Desktop.
<?php
public function change()
{
$table = $this->table('photographers');
$table->addColumn('portfolio-url', 'text', ['after' => 'phone'])
->update();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment