2018_04_26_114745_create_humanverification_table.php 887 Bytes
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1
2
3
<?php

use Illuminate\Database\Migrations\Migration;
4
5
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
Dominik Hebeler's avatar
Dominik Hebeler committed
6
7
8
9
10
11
12
13
14
15
16

class CreateHumanverificationTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('humanverification', function (Blueprint $table) {
17
18
            $table->string('uid')->unique();
            $table->string('id');
Dominik Hebeler's avatar
Dominik Hebeler committed
19
            $table->integer('unusedResultPages');
20
21
            $table->boolean('whitelist');
            $table->integer('whitelistCounter');
Dominik Hebeler's avatar
Dominik Hebeler committed
22
            $table->boolean('locked');
23
            $table->string('lockedKey');
24
            $table->timestamp('updated_at');
Dominik Hebeler's avatar
Dominik Hebeler committed
25
26
27
28
29
30
31
32
33
34
35
36
37
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('humanverification');
    }
}