Code Duplication    Length = 7-11 lines in 2 locations

migrations/2020_03_08_151341_create_cms_tags_table.php 1 location

@@ 16-22 (lines=7) @@
13
     */
14
    public function up()
15
    {
16
        Schema::create('cms_tags', function (Blueprint $table) {
17
            $table->bigIncrements('id');
18
            $table->string('name');
19
            $table->string('slug')->unique();
20
            $table->text('description')->nullable();
21
            $table->timestamps();
22
        });
23
24
        Schema::create('cms_post_tag', function (Blueprint $table) {
25
            $table->unsignedBigInteger('post_id');

migrations/2020_03_16_151341_create_cms_options_table.php 1 location

@@ 14-24 (lines=11) @@
11
     *
12
     * @return void
13
     */
14
    public function up()
15
    {
16
        Schema::create('cms_options', function (Blueprint $table) {
17
            $table->bigIncrements('id');
18
            $table->string('key')->unique();
19
            $table->string('type');
20
            $table->string('label')->nullable();
21
            $table->text('value')->nullable();
22
            $table->timestamps();
23
        });
24
    }
25
26
    /**
27
     * Reverse the migrations.