| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('events', function (Blueprint $table) { |
||
| 17 | $table->id(); |
||
| 18 | $table->string('code')->unique(); |
||
| 19 | $table->string('name')->unique(); |
||
| 20 | $table->string('slug')->unique(); |
||
| 21 | $table->longText('description'); |
||
| 22 | $table->boolean('single_day')->default(1); |
||
| 23 | $table->dateTime('event_date')->nullable(); |
||
| 24 | $table->dateTime('start_date')->nullable(); |
||
| 25 | $table->dateTime('end_date')->nullable(); |
||
| 26 | $table->string('interval')->nullable(); |
||
| 27 | $table->string('notice')->nullable(); |
||
| 28 | $table->string('image')->nullable(); |
||
| 29 | $table->foreignId('gallery_id')->nullable()->constrained()->nullOnDelete(); |
||
| 30 | $table->string('meta_name')->nullable(); |
||
| 31 | $table->string('meta_description')->nullable(); |
||
| 32 | $table->string('meta_keywords')->nullable(); |
||
| 33 | $table->timestamps(); |
||
| 34 | }); |
||
| 47 |