|
|
@@ -1,23 +0,0 @@
|
|
1
|
|
-<?php
|
|
2
|
|
-
|
|
3
|
|
-use Illuminate\Database\Migrations\Migration;
|
|
4
|
|
-use Illuminate\Database\Schema\Blueprint;
|
|
5
|
|
-use Illuminate\Support\Facades\Schema;
|
|
6
|
|
-
|
|
7
|
|
-return new class extends Migration
|
|
8
|
|
-{
|
|
9
|
|
- public function up(): void
|
|
10
|
|
- {
|
|
11
|
|
- Schema::table('annotazione', function (Blueprint $table) {
|
|
12
|
|
- $table->string('tempo_inizio', 5)->nullable()->after('tempo_data');
|
|
13
|
|
- $table->string('tempo_fine', 5)->nullable()->after('tempo_inizio');
|
|
14
|
|
- });
|
|
15
|
|
- }
|
|
16
|
|
-
|
|
17
|
|
- public function down(): void
|
|
18
|
|
- {
|
|
19
|
|
- Schema::table('annotazione', function (Blueprint $table) {
|
|
20
|
|
- $table->dropColumn(['tempo_inizio', 'tempo_fine']);
|
|
21
|
|
- });
|
|
22
|
|
- }
|
|
23
|
|
-};
|