diff --git a/database/migrations/2022_12_02_000007_create_notes_table.php b/database/migrations/2022_12_02_000007_create_notes_table.php new file mode 100644 index 0000000..8dce8d7 --- /dev/null +++ b/database/migrations/2022_12_02_000007_create_notes_table.php @@ -0,0 +1,23 @@ +char('id', 8)->primary(); + $table->char('service_id', 8)->unique(); + $table->text('note'); + $table->timestamps(); + }); + } + + public function down() + { + Schema::dropIfExists('notes'); + } +};