Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
gilour
/
database
/
migrations
:
2016_03_02_093444_billing_address.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class BillingAddress extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table("companies", function(Blueprint $table) { $table->string("billing_address", 1000); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table("companies", function(Blueprint $table) { $table->dropColumn("billing_address"); }); } }