1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00

Added shard tables

This commit is contained in:
Hillel Coren 2017-04-30 16:39:44 +03:00
parent 0caa8483e3
commit b0d185e559

View File

@ -55,27 +55,6 @@ class AddCustomContactFields extends Migration
DB::statement('delete from frequencies where id = 9');
}
/*
Schema::create('projects', function ($table) {
$table->increments('id');
$table->unsignedInteger('user_id');
$table->unsignedInteger('account_id')->index();
$table->unsignedInteger('client_id')->index()->nullable();
$table->timestamps();
$table->softDeletes();
$table->string('name')->nullable();
$table->boolean('is_deleted')->default(false);
$table->foreign('account_id')->references('id')->on('accounts')->onDelete('cascade');
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
$table->foreign('client_id')->references('id')->on('clients')->onDelete('cascade');
$table->unsignedInteger('public_id')->index();
$table->unique(['account_id', 'public_id']);
});
*/
Schema::create('db_servers', function ($table) {
$table->increments('id');
$table->string('name');