fixes
This commit is contained in:
@@ -19,7 +19,6 @@ class CreateResourceExtension extends Migration
|
||||
$table->id();
|
||||
$table->string("extension", 60)->unique();
|
||||
$table->text("description");
|
||||
$table->unsignedInteger("resource_category_id");
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreignid("resource_category_id")->constrained("resource_categories", "id");
|
||||
|
||||
@@ -18,7 +18,6 @@ class CreateResource extends Migration
|
||||
Schema::create('resources', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string("filename")->unique();
|
||||
$table->unsignedInteger("extension_id");
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreignid("extension_id")->constrained("resource_extensions", "id");
|
||||
|
||||
@@ -15,8 +15,6 @@ class CreateUserEventsTable extends Migration
|
||||
{
|
||||
Schema::create('user_events', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer("user_id");
|
||||
$table->integer("event_id");
|
||||
|
||||
$table->timestamps();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user