2020_01_10_083353_create_group_schedule_table.php 678 Bytes
Newer Older
1
2
3
<?php

use Illuminate\Support\Facades\Schema;
Jacob Priddy's avatar
Jacob Priddy committed
4
5
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
6

Jacob Priddy's avatar
Jacob Priddy committed
7
class CreateGroupScheduleTable extends Migration
8
9
10
11
12
13
14
15
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
Jacob Priddy's avatar
Jacob Priddy committed
16
17
18
19
        // This table maps time specific permissions to groups
        Schema::create('group_schedule', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->timestamps();
20
21
22
23
24
25
26
27
28
29
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
Jacob Priddy's avatar
Jacob Priddy committed
30
        Schema::dropIfExists('group_schedule');
31
32
    }
}