2024-07-27 15:40:35 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
2024-07-28 18:06:05 -04:00
|
|
|
class CreatePalettesTable extends Migration
|
2024-07-27 15:40:35 -04:00
|
|
|
{
|
|
|
|
public function up()
|
|
|
|
{
|
2024-07-28 18:06:05 -04:00
|
|
|
Schema::create('palettes', function (Blueprint $table) {
|
2024-07-27 15:40:35 -04:00
|
|
|
$table->id();
|
2024-07-28 18:06:05 -04:00
|
|
|
$table->string('name');
|
2024-07-27 15:40:35 -04:00
|
|
|
$table->timestamps();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
public function down()
|
|
|
|
{
|
2024-07-28 18:06:05 -04:00
|
|
|
Schema::dropIfExists('palettes');
|
2024-07-27 15:40:35 -04:00
|
|
|
}
|
|
|
|
}
|