increments('id'); $table->integer('sn')->unsigned(); $table->integer('psn')->unsigned(); $table->string('province'); $table->string('city'); $table->string('area'); $table->string('name'); $table->string('shortname'); $table->string('type', 50); $table->string('cnname'); $table->string('enname'); $table->string('info'); $table->string('shortinfo'); $table->integer('zone')->unsigned(); $table->integer('zip')->unsigned(); $table->decimal('lng', 10, 7); $table->decimal('lat', 10, 7); $table->integer('depth')->nullable(); $table->decimal('freight', 10)->nullable(); $table->dateTime('updated_at')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('areas'); } }