diff --git a/database/migrations/2019_03_05_000000_create_password_resets_table.php b/database/migrations/2020_01_01_000001_create_password_resets_table.php old mode 100644 new mode 100755 similarity index 65% rename from database/migrations/2019_03_05_000000_create_password_resets_table.php rename to database/migrations/2020_01_01_000001_create_password_resets_table.php index b2c5d27..0ee0a36 --- a/database/migrations/2019_03_05_000000_create_password_resets_table.php +++ b/database/migrations/2020_01_01_000001_create_password_resets_table.php @@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema; class CreatePasswordResetsTable extends Migration { + /** + * Run the migrations. + * + * @return void + */ public function up() { Schema::create('password_resets', function (Blueprint $table) { @@ -14,4 +19,14 @@ class CreatePasswordResetsTable extends Migration $table->timestamp('created_at')->nullable(); }); } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('password_resets'); + } } diff --git a/database/migrations/2020_01_01_000002_create_failed_jobs_table.php b/database/migrations/2020_01_01_000002_create_failed_jobs_table.php new file mode 100755 index 0000000..6aa6d74 --- /dev/null +++ b/database/migrations/2020_01_01_000002_create_failed_jobs_table.php @@ -0,0 +1,36 @@ +id(); + $table->string('uuid')->unique(); + $table->text('connection'); + $table->text('queue'); + $table->longText('payload'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('failed_jobs'); + } +} diff --git a/database/migrations/2019_03_05_000000_create_accounts_table.php b/database/migrations/2020_01_01_000003_create_accounts_table.php similarity index 64% rename from database/migrations/2019_03_05_000000_create_accounts_table.php rename to database/migrations/2020_01_01_000003_create_accounts_table.php index f4bc6cc..a03ccbd 100644 --- a/database/migrations/2019_03_05_000000_create_accounts_table.php +++ b/database/migrations/2020_01_01_000003_create_accounts_table.php @@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema; class CreateAccountsTable extends Migration { + /** + * Run the migrations. + * + * @return void + */ public function up() { Schema::create('accounts', function (Blueprint $table) { @@ -14,4 +19,14 @@ class CreateAccountsTable extends Migration $table->timestamps(); }); } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('accounts'); + } } diff --git a/database/migrations/2019_03_05_000000_create_users_table.php b/database/migrations/2020_01_01_000004_create_users_table.php similarity index 78% rename from database/migrations/2019_03_05_000000_create_users_table.php rename to database/migrations/2020_01_01_000004_create_users_table.php index 37b6c86..8ee7156 100644 --- a/database/migrations/2019_03_05_000000_create_users_table.php +++ b/database/migrations/2020_01_01_000004_create_users_table.php @@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { + /** + * Run the migrations. + * + * @return void + */ public function up() { Schema::create('users', function (Blueprint $table) { @@ -22,4 +27,14 @@ class CreateUsersTable extends Migration $table->softDeletes(); }); } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('users'); + } } diff --git a/database/migrations/2019_03_05_000000_create_organizations_table.php b/database/migrations/2020_01_01_000005_create_organizations_table.php similarity index 79% rename from database/migrations/2019_03_05_000000_create_organizations_table.php rename to database/migrations/2020_01_01_000005_create_organizations_table.php index 69400d6..ecb531d 100644 --- a/database/migrations/2019_03_05_000000_create_organizations_table.php +++ b/database/migrations/2020_01_01_000005_create_organizations_table.php @@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema; class CreateOrganizationsTable extends Migration { + /** + * Run the migrations. + * + * @return void + */ public function up() { Schema::create('organizations', function (Blueprint $table) { @@ -23,4 +28,14 @@ class CreateOrganizationsTable extends Migration $table->softDeletes(); }); } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('organizations'); + } } diff --git a/database/migrations/2019_03_05_000000_create_contacts_table.php b/database/migrations/2020_01_01_000006_create_contacts_table.php similarity index 81% rename from database/migrations/2019_03_05_000000_create_contacts_table.php rename to database/migrations/2020_01_01_000006_create_contacts_table.php index ed7a6d9..5ec801e 100644 --- a/database/migrations/2019_03_05_000000_create_contacts_table.php +++ b/database/migrations/2020_01_01_000006_create_contacts_table.php @@ -6,6 +6,11 @@ use Illuminate\Support\Facades\Schema; class CreateContactsTable extends Migration { + /** + * Run the migrations. + * + * @return void + */ public function up() { Schema::create('contacts', function (Blueprint $table) { @@ -25,4 +30,14 @@ class CreateContactsTable extends Migration $table->softDeletes(); }); } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('contacts'); + } }