Skip to content

Commit

Permalink
snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
theHocineSaad committed Sep 2, 2022
1 parent e40e2f4 commit ece29e1
Show file tree
Hide file tree
Showing 6 changed files with 610 additions and 610 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up()
Schema::create('wilayas', function (Blueprint $table) {
$table->tinyInteger('id')->primary();
$table->tinyText('name');
$table->tinyText('arName');
$table->tinyText('ar_name');
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up()
Schema::create('dairas', function (Blueprint $table) {
$table->smallInteger('id')->primary();
$table->tinyText('name');
$table->tinyText('arName');
$table->tinyText('ar_name');

$table->tinyInteger('wilaya_id');
$table->foreign('wilaya_id')->references('id')->on('wilayas');
Expand Down
Loading

0 comments on commit ece29e1

Please sign in to comment.