remove keepdata

This commit is contained in:
philipp lang 2021-04-10 01:16:26 +02:00
parent 53fb983abe
commit 0800dc4a3d
2 changed files with 1 additions and 3 deletions

View File

@ -10,13 +10,12 @@ class Member extends Model
{
use Notifiable;
public $fillable = ['firstname', 'lastname', 'nickname', 'other_country', 'birthday', 'joined_at', 'keepdata', 'sendnewspaper', 'address', 'further_address', 'zip', 'city', 'phone', 'mobile', 'business_phone', 'fax', 'email', 'email_parents', 'nami_id', 'active', 'letter_address', 'country_id', 'way_id', 'nationality_id', 'subscription_id', 'region_id', 'gender_id', 'confession_id'];
public $fillable = ['firstname', 'lastname', 'nickname', 'other_country', 'birthday', 'joined_at', 'sendnewspaper', 'address', 'further_address', 'zip', 'city', 'phone', 'mobile', 'business_phone', 'fax', 'email', 'email_parents', 'nami_id', 'active', 'letter_address', 'country_id', 'way_id', 'nationality_id', 'subscription_id', 'region_id', 'gender_id', 'confession_id'];
public $dates = ['joined_at', 'birthday'];
public $casts = [
'active' => 'boolean',
'keepdata' => 'boolean',
'sendnewspaper' => 'boolean',
'gender_id' => 'integer',
'way_id' => 'integer',

View File

@ -24,7 +24,6 @@ class CreateMembersTable extends Migration
$table->integer('confession_id')->unsigned()->nullable();
$table->date('birthday');
$table->date('joined_at');
$table->boolean('keepdata');
$table->boolean('sendnewspaper');
$table->string('address');
$table->string('further_address')->nullable();