Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. $table->increments('std_id');
  2. $table->string('std_name', 100)->nullable()->default('');
  3. $table->string('std_address', 100)->nullable()->default('');
  4. $table->string('std_tel', 100)->nullable()->default('');
  5. $table->string('pa_id', 100)->nullable()->default('');
  6. $table->tinyInteger('c_id')->nullable()->default(null);
  7.  
  8.  
  9. public $timestamps = false;
  10. protected $fillable = ([
  11. 'std_id',
  12. 'std_name',
  13. 'std_address',
  14. 'std_tel',
  15. 'pa_id',
  16. 'c_id'
  17. ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement