refactor: Update article schema for better flexibility.
- Update database table `articles` - Set `url` column as nullable
This commit is contained in:
parent
8397a81218
commit
9c62a5daff
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ return new class extends Migration
|
||||||
{
|
{
|
||||||
Schema::table('articles', function (Blueprint $table) {
|
Schema::table('articles', function (Blueprint $table) {
|
||||||
$table->string('titleurl', 255)->change();
|
$table->string('titleurl', 255)->change();
|
||||||
$table->string('url', 255)->change();
|
$table->string('url', 255)->nullable()->change();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue