Created database migratioin, updated models, updated .gitignore to ignore a .project file.

This commit is contained in:
blkmutt 2014-03-21 08:15:53 -04:00
parent 0daa3161e3
commit c4e629c84f
3 changed files with 10 additions and 1 deletions

3
.gitignore vendored
View File

@ -17,4 +17,5 @@
/ninja.sublime-project /ninja.sublime-project
/ninja.sublime-workspace /ninja.sublime-workspace
/tests/_log /tests/_log
.idea .idea
.project

View File

@ -18,6 +18,9 @@ class DatabaseSeeder extends Seeder {
$this->call('CountriesSeeder'); $this->call('CountriesSeeder');
$this->command->info('Seeded the countries!'); $this->command->info('Seeded the countries!');
$this->call('PaymentLibrariesSeeder');
$this->command->info('Seeded the Payment Libraries!');
} }
} }

View File

@ -4,4 +4,9 @@ class Gateway extends Eloquent
{ {
public $timestamps = false; public $timestamps = false;
protected $softDelete = false; protected $softDelete = false;
public function paymentlibrary()
{
return $this->belongsTo('PaymentLibrary');
}
} }