Skip to content

Commit

Permalink
Update 2016_07_04_000070_create_geonames_admin1_codes_table.php
Browse files Browse the repository at this point in the history
Change it due to
#13
  • Loading branch information
yurtesen authored Sep 8, 2020
1 parent c485bc3 commit e5e28ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public function up()
{
Schema::create('geonames_admin1_codes', function (Blueprint $table) {
$table->string('code',20)->unique();
$table->string('name',100)->unique();
$table->string('name_ascii',100)->unique();
$table->string('name',100);
$table->string('name_ascii',100);
$table->integer('geoname_id')->primary()->unsigned();
$table->foreign('geoname_id')->references('geoname_id')->on('geonames_geonames')->onUpdate('cascade')->onDelete('cascade');
});
Expand Down

0 comments on commit e5e28ef

Please sign in to comment.