Created database migratioin, updated models, updated .gitignore to ignore a .project file.
This commit is contained in:
parent
0daa3161e3
commit
c4e629c84f
3 changed files with 10 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -17,4 +17,5 @@
|
|||
/ninja.sublime-project
|
||||
/ninja.sublime-workspace
|
||||
/tests/_log
|
||||
.idea
|
||||
.idea
|
||||
.project
|
||||
|
|
@ -18,6 +18,9 @@ class DatabaseSeeder extends Seeder {
|
|||
|
||||
$this->call('CountriesSeeder');
|
||||
$this->command->info('Seeded the countries!');
|
||||
|
||||
$this->call('PaymentLibrariesSeeder');
|
||||
$this->command->info('Seeded the Payment Libraries!');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -4,4 +4,9 @@ class Gateway extends Eloquent
|
|||
{
|
||||
public $timestamps = false;
|
||||
protected $softDelete = false;
|
||||
|
||||
public function paymentlibrary()
|
||||
{
|
||||
return $this->belongsTo('PaymentLibrary');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue