Skip to content

Commit

Permalink
change id into uuid name
Browse files Browse the repository at this point in the history
  • Loading branch information
metallurgical committed Mar 30, 2020
1 parent da8b38b commit 63ab76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/create_api_keys_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CreateApiKeysTable extends Migration
public function up()
{
Schema::create(config('api-key.table_name.api_keys'), function (Blueprint $table) {
$table->uuid('id');
$table->uuid('uuid');
$table->morphs('model');
$table->text(config('api-key.columns.key'));
$table->boolean('status')->default(true);
Expand Down

0 comments on commit 63ab76c

Please sign in to comment.