diff --git a/packages/Webkul/Customer/src/Database/Migrations/2018_07_20_151049_create_customers_table.php b/packages/Webkul/Customer/src/Database/Migrations/2018_07_20_151049_create_customers_table.php new file mode 100644 index 000000000..9dc55266d --- /dev/null +++ b/packages/Webkul/Customer/src/Database/Migrations/2018_07_20_151049_create_customers_table.php @@ -0,0 +1,31 @@ +increments('id'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('customers'); + } +} diff --git a/packages/Webkul/Customer/src/Database/Migrations/2018_07_20_151103_create_customers_group_table.php b/packages/Webkul/Customer/src/Database/Migrations/2018_07_20_151103_create_customers_group_table.php new file mode 100644 index 000000000..43919ebf4 --- /dev/null +++ b/packages/Webkul/Customer/src/Database/Migrations/2018_07_20_151103_create_customers_group_table.php @@ -0,0 +1,31 @@ +increments('id'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('customers_group'); + } +} diff --git a/packages/Webkul/Customer/src/Database/Migrations/2018_07_20_151120_create_customers_address_table.php b/packages/Webkul/Customer/src/Database/Migrations/2018_07_20_151120_create_customers_address_table.php new file mode 100644 index 000000000..11862d531 --- /dev/null +++ b/packages/Webkul/Customer/src/Database/Migrations/2018_07_20_151120_create_customers_address_table.php @@ -0,0 +1,31 @@ +increments('id'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('customers_address'); + } +} diff --git a/packages/Webkul/Customer/src/Models/CustomerGroups.php b/packages/Webkul/Customer/src/Models/CustomerGroups.php new file mode 100644 index 000000000..919233cf9 --- /dev/null +++ b/packages/Webkul/Customer/src/Models/CustomerGroups.php @@ -0,0 +1,9 @@ +