/** * Run the migrations. * * @return void */ public function up() { // Schema::create('registrations', function (Blueprint $table) { $table->increments('id'); $table->string('conference'); $table->string('attendance'); $table->string('email'); $table->string('phone')->nullable(); $table->string('first_name')->nullable(); $table->string('last_name')->nullable(); $table->string('title')->nullable(); $table->string('company')->nullable(); $table->string('street')->nullable(); $table->string('city')->nullable(); $table->string('state')->nullable(); $table->string('postal')->nullable(); $table->string('referrals')->nullable(); $table->timestamps(); $table->timestamp('accepted')->nullable(); $table->softDeletes(); }); Registration::create(['conference' => 'austin', 'attendance' => 'attendee', 'email' => '*****@*****.**', 'phone' => '9715061908', 'first_name' => 'Jeff', 'last_name' => 'Martin', 'title' => 'Grand Poo-bah', 'company' => 'SpartanMartin.com', 'street' => '18415 SW Ewen Drive APT H', 'city' => 'Beaverton', 'state' => 'OR', 'postal' => '97003', 'referrals' => null]); }