laravel is it possible to create foreign key for non autoincrement? code example
Example: foreign key string laravel
Schema::table('portfolios', function (Blueprint $table) {
$table->string('filter_alias');
$table->foreign('filter_alias')->cascadeOnDelete()->references('alias')->on('filters');
});