Commit 0837a679 by Juliper

solve timestamps();

parent 55c084a9
......@@ -19,7 +19,7 @@ class Pelanggan extends Migration
$table->string('alamat');
$table->string('noTelepon');
$table->string('pekerjaan');
$table->timestamp();
//$table->timestamp();
});
}
......
......@@ -13,10 +13,10 @@ class Admin extends Migration
*/
public function up()
{
Schema::cretae('Admin',function (Blueprint $table){
Schema::create('Admin',function (Blueprint $table){
$table->increments('idAdmin');
$table->string('nama');
$table->timestamp();
$table->timestamps();
});
}
......
......@@ -17,7 +17,7 @@ class DinasPariwisata extends Migration
$table->increments('idPegawai');
$table->string('namaPegawai');
$table->string('divisiPegawai');
$table->timestamp();
$table->timestamps();
});
}
......
......@@ -20,7 +20,7 @@ class PemilikiHomestay extends Migration
$table->string('pekerjaan');
$table->string('noTelepon');
$table->string('noRekening');
$table->timestamp();
$table->timestamps();
});
}
......
......@@ -17,7 +17,7 @@ class Homestay extends Migration
$table->increments('idHomestay');
$table->string('nama');
$table->string('alamat');
$table->timestamp();
$table->timestamps();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment