flexisip-account-manager/flexiapi/app/PhoneChangeCode.php
Timothée Jaussoin fe279e3244 Remove totally the SQLite support
- Run all the migrations in the MySQL database
- Add foreign keys + cascade support
- Remove the AccountDeleting event (now useless)
- Simplify the related code
- Keep (for now), the FlexiSIP structure to ensure compatibility
- Update the README
- Update the test suite
2021-06-03 11:31:54 +02:00

16 lines
270 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class PhoneChangeCode extends Model
{
use HasFactory;
public function account()
{
return $this->belongsTo('App\Account');
}
}