From 9ecd9280999733bfebfa1b12159bd58e655c5e9d Mon Sep 17 00:00:00 2001 From: Erick Chandra <erickchandra.1@gmail.com> Date: Thu, 7 Apr 2016 09:35:59 +0700 Subject: [PATCH] Update renaming with convention for log database tables. --- .../database/migrations/2016_04_05_144116_gov_user_log.php | 2 +- .../database/migrations/2016_04_05_144129_vendor_user_log.php | 2 +- .../database/migrations/2016_04_05_144150_public_user_log.php | 2 +- .../database/migrations/2016_04_05_145431_object_type_log.php | 2 +- .../database/migrations/2016_04_05_150010_object_sell_log.php | 2 +- .../2016_04_05_150338_object_sell_rate_and_review_log.php | 2 +- .../migrations/2016_04_05_150657_vendor_rate_and_review_log.php | 2 +- IES-Bandung/database/migrations/2016_04_06_020321_user_log.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/IES-Bandung/database/migrations/2016_04_05_144116_gov_user_log.php b/IES-Bandung/database/migrations/2016_04_05_144116_gov_user_log.php index a077ee8..9aa3cbe 100644 --- a/IES-Bandung/database/migrations/2016_04_05_144116_gov_user_log.php +++ b/IES-Bandung/database/migrations/2016_04_05_144116_gov_user_log.php @@ -13,7 +13,7 @@ class GovUserLog extends Migration public function up() { Schema::create('GovUserLog', function (Blueprint $table) { - $table->increments('govUserLogDBID'); + $table->increments('id'); $table->integer('govDBID')->unsigned(); $table->integer('userID')->unsigned(); $table->bigInteger('nip')->unsigned()->nullable(); diff --git a/IES-Bandung/database/migrations/2016_04_05_144129_vendor_user_log.php b/IES-Bandung/database/migrations/2016_04_05_144129_vendor_user_log.php index e5e4ec4..1dee62c 100644 --- a/IES-Bandung/database/migrations/2016_04_05_144129_vendor_user_log.php +++ b/IES-Bandung/database/migrations/2016_04_05_144129_vendor_user_log.php @@ -13,7 +13,7 @@ class VendorUserLog extends Migration public function up() { Schema::create('VendorUserLog', function (Blueprint $table) { - $table->increments('vendorUserLogDBID'); + $table->increments('id'); $table->integer('vendorDBID')->unsigned(); $table->integer('userID')->unsigned(); $table->mediumText('old_place')->nullable(); diff --git a/IES-Bandung/database/migrations/2016_04_05_144150_public_user_log.php b/IES-Bandung/database/migrations/2016_04_05_144150_public_user_log.php index b41cea7..a43de2d 100644 --- a/IES-Bandung/database/migrations/2016_04_05_144150_public_user_log.php +++ b/IES-Bandung/database/migrations/2016_04_05_144150_public_user_log.php @@ -13,7 +13,7 @@ class PublicUserLog extends Migration public function up() { Schema::create('PublicUserLog', function (Blueprint $table) { - $table->increments('publicUserLogDBID'); + $table->increments('id'); $table->integer('publicDBID')->unsigned(); $table->integer('userID')->unsigned(); $table->string('action'); diff --git a/IES-Bandung/database/migrations/2016_04_05_145431_object_type_log.php b/IES-Bandung/database/migrations/2016_04_05_145431_object_type_log.php index af1d33c..6da171c 100644 --- a/IES-Bandung/database/migrations/2016_04_05_145431_object_type_log.php +++ b/IES-Bandung/database/migrations/2016_04_05_145431_object_type_log.php @@ -13,7 +13,7 @@ class ObjectTypeLog extends Migration public function up() { Schema::create('ObjectTypeLog', function (Blueprint $table) { - $table->increments('objectTypeLogDBID'); + $table->increments('id'); $table->integer('objectTypeID')->unsigned(); $table->longText('name'); $table->string('action'); diff --git a/IES-Bandung/database/migrations/2016_04_05_150010_object_sell_log.php b/IES-Bandung/database/migrations/2016_04_05_150010_object_sell_log.php index e35328c..fb93002 100644 --- a/IES-Bandung/database/migrations/2016_04_05_150010_object_sell_log.php +++ b/IES-Bandung/database/migrations/2016_04_05_150010_object_sell_log.php @@ -13,7 +13,7 @@ class ObjectSellLog extends Migration public function up() { Schema::create('ObjectSellLog', function (Blueprint $table) { - $table->increments('objectSellLogDBID'); + $table->increments('id'); $table->integer('objectSellID')->unsigned(); $table->integer('vendorDBID')->unsigned(); $table->string('name'); diff --git a/IES-Bandung/database/migrations/2016_04_05_150338_object_sell_rate_and_review_log.php b/IES-Bandung/database/migrations/2016_04_05_150338_object_sell_rate_and_review_log.php index f9afda3..0827c0e 100644 --- a/IES-Bandung/database/migrations/2016_04_05_150338_object_sell_rate_and_review_log.php +++ b/IES-Bandung/database/migrations/2016_04_05_150338_object_sell_rate_and_review_log.php @@ -13,7 +13,7 @@ class ObjectSellRateAndReviewLog extends Migration public function up() { Schema::create('ObjectSellRateAndReviewLog', function (Blueprint $table) { - $table->increments('osrrLogDBID'); + $table->increments('id'); $table->integer('osrrID')->unsigned(); $table->integer('objectSellID')->unsigned(); $table->integer('publicDBID')->unsigned(); diff --git a/IES-Bandung/database/migrations/2016_04_05_150657_vendor_rate_and_review_log.php b/IES-Bandung/database/migrations/2016_04_05_150657_vendor_rate_and_review_log.php index 42fdf61..62f0636 100644 --- a/IES-Bandung/database/migrations/2016_04_05_150657_vendor_rate_and_review_log.php +++ b/IES-Bandung/database/migrations/2016_04_05_150657_vendor_rate_and_review_log.php @@ -13,7 +13,7 @@ class VendorRateAndReviewLog extends Migration public function up() { Schema::create('VendorRateAndReviewLog', function (Blueprint $table) { - $table->increments('vrrLogDBID'); + $table->increments('id'); $table->integer('vrrID')->unsigned(); $table->integer('publicDBID')->unsigned(); $table->integer('vendorDBID')->unsigned(); diff --git a/IES-Bandung/database/migrations/2016_04_06_020321_user_log.php b/IES-Bandung/database/migrations/2016_04_06_020321_user_log.php index f441f70..726de1c 100644 --- a/IES-Bandung/database/migrations/2016_04_06_020321_user_log.php +++ b/IES-Bandung/database/migrations/2016_04_06_020321_user_log.php @@ -13,7 +13,7 @@ class UserLog extends Migration public function up() { Schema::create('UserLog', function (Blueprint $table) { - $table->increments('userLogDBID'); + $table->increments('id'); $table->integer('userID')->unsigned(); $table->string('username'); $table->string('email'); -- GitLab