main
Last change
on this file was 6b10b67, checked in by bube-ristovska <ristovska725@…>, 10 months ago |
Connected database
|
-
Property mode
set to
100644
|
File size:
533 bytes
|
Rev | Line | |
---|
[6b10b67] | 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 | /**
|
---|
| 10 | * Run the migrations.
|
---|
| 11 | */
|
---|
| 12 | public function up(): void
|
---|
| 13 | {
|
---|
| 14 | Schema::create('accuseds', function (Blueprint $table) {
|
---|
| 15 | $table->id();
|
---|
| 16 | $table->timestamps();
|
---|
| 17 | });
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | /**
|
---|
| 21 | * Reverse the migrations.
|
---|
| 22 | */
|
---|
| 23 | public function down(): void
|
---|
| 24 | {
|
---|
| 25 | Schema::dropIfExists('accuseds');
|
---|
| 26 | }
|
---|
| 27 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.