id(); $table->string('name'); $table->string('noic')->unique(); $table->string('alamat'); $table->string('main_phone'); $table->string('alternate_phone')->nullable(); $table->string('alamat_menyurat'); $table->integer('poskod'); $table->string('daerah'); $table->string('negeri'); $table->integer('umur'); $table->string('warganegara'); $table->string('bangsa'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('customers'); } }