remove keepdata
This commit is contained in:
parent
53fb983abe
commit
0800dc4a3d
|
@ -10,13 +10,12 @@ class Member extends Model
|
||||||
{
|
{
|
||||||
use Notifiable;
|
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 $dates = ['joined_at', 'birthday'];
|
||||||
|
|
||||||
public $casts = [
|
public $casts = [
|
||||||
'active' => 'boolean',
|
'active' => 'boolean',
|
||||||
'keepdata' => 'boolean',
|
|
||||||
'sendnewspaper' => 'boolean',
|
'sendnewspaper' => 'boolean',
|
||||||
'gender_id' => 'integer',
|
'gender_id' => 'integer',
|
||||||
'way_id' => 'integer',
|
'way_id' => 'integer',
|
||||||
|
|
|
@ -24,7 +24,6 @@ class CreateMembersTable extends Migration
|
||||||
$table->integer('confession_id')->unsigned()->nullable();
|
$table->integer('confession_id')->unsigned()->nullable();
|
||||||
$table->date('birthday');
|
$table->date('birthday');
|
||||||
$table->date('joined_at');
|
$table->date('joined_at');
|
||||||
$table->boolean('keepdata');
|
|
||||||
$table->boolean('sendnewspaper');
|
$table->boolean('sendnewspaper');
|
||||||
$table->string('address');
|
$table->string('address');
|
||||||
$table->string('further_address')->nullable();
|
$table->string('further_address')->nullable();
|
||||||
|
|
Loading…
Reference in New Issue