Make account property nullable

This commit is contained in:
Bubka 2020-01-07 21:46:16 +01:00
parent 94eb55dfe4
commit 88b5a1965c
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ public function up()
$table->increments('id');
$table->string('service');
$table->string('uri');
$table->string('account');
$table->string('account')->nullable();;
$table->string('icon')->nullable();
$table->timestamps();
});

View File

@ -110,7 +110,7 @@
this.accounts.push({
id : data.id,
service : data.service,
account : data.account,
account : data.account ? data.account : '-',
icon : data.icon
})
})