grapper wip
This commit is contained in:
1 parent
6a9173e3eb
commit
361e5ed3ed
15 files changed
+310
-120
No files matched your search
@@ -18,8 +18,7 @@ return new class extends Migration
|
||||
$table->integer('sofa_score_categorie_id')->index();
|
||||
$table->string('slug')->index();
|
||||
$table->string('name');
|
||||
$table->boolean('grap')->index()->default(0);
|
||||
$table->boolean('grapped')->index()->default(0);
|
||||
$table->boolean('enabled')->index()->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -14,11 +14,8 @@ return new class extends Migration
|
||||
Schema::create('sofa_score_days', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->date('day')->index();
|
||||
$table->boolean('football')->default(0);
|
||||
$table->boolean('basketball')->default(0);
|
||||
$table->boolean('tennis')->default(0);
|
||||
$table->boolean('ice-hockey')->default(0);
|
||||
$table->boolean('handball')->default(0);
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
$table->boolean('enabled')->index()->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user