v1.4.1 - Small fixes

This commit is contained in:
frederikpyt
2020-10-07 08:23:26 +02:00
parent 505ed3710b
commit 159c3f3764
10 changed files with 44 additions and 68 deletions
@@ -18,7 +18,7 @@ class CreateResourceCategories extends Migration
Schema::create('resource_categories', function (Blueprint $table) {
$table->id();
$table->string("name", 60)->unique();
$table->text("description");
$table->longText("description");
$table->string("slug", 255)->unique();
$table->timestamps();
});
@@ -18,7 +18,7 @@ class CreateResourceExtension extends Migration
Schema::create('resource_extensions', function (Blueprint $table) {
$table->id();
$table->string("extension", 60)->unique();
$table->text("description");
$table->longText("description");
$table->timestamps();
$table->foreignid("resource_category_id")->constrained("resource_categories", "id");
@@ -18,8 +18,8 @@ class CreateFailedJobsTable extends Migration
{
Schema::create('failed_jobs', function (Blueprint $table) {
$table->id();
$table->text('connection');
$table->text('queue');
$table->longText('connection');
$table->longText('queue');
$table->longText('payload');
$table->longText('exception');
$table->timestamp('failed_at')->useCurrent();
@@ -23,7 +23,7 @@ class CreateMenuPlans extends Migration
$table->string('wednesday', 255);
$table->string('thursday', 255);
$table->timestamps();
//$table->text('description');
//$table->longText('description');
});
}
@@ -17,7 +17,7 @@ class CreateNewsTable extends Migration
$table->id();
$table->string("name");
$table->string('subname');
$table->text("content");
$table->longText("content");
$table->foreignId('resource_id')->nullable()->constrained('resources', 'id');
$table->integer("arrangement_id")->nullable(); //Gets ID from given event, menu, guide or news
$table->foreignid("type_id")->nullable()->constrained("news_types", "id");