This commit is contained in:
James Cole 2014-11-22 07:34:08 +01:00
parent f0f965421c
commit 5df0634380
11 changed files with 20 additions and 81 deletions

View File

@ -5,7 +5,6 @@ use LaravelBook\Ardent\Builder;
/**
*
* Account
*
* @property integer $id

View File

@ -18,16 +18,20 @@ use LaravelBook\Ardent\Ardent;
* @property-read \Piggybank $remindersable
* @property-read \User $user
* @property mixed $data
* @method static \Illuminate\Database\Query\Builder|\Reminder whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereStartdate($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereEnddate($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereActive($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereRemembersableId($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereRemembersableType($value)
* @method static \Reminder dateIs($start, $end)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereStartdate($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereEnddate($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereActive($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereRemembersableId($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereRemembersableType($value)
* @method static \Reminder dateIs($start, $end)
* @property integer $remindersable_id
* @property string $remindersable_type
* @method static \Illuminate\Database\Query\Builder|\Reminder whereRemindersableId($value)
* @method static \Illuminate\Database\Query\Builder|\Reminder whereRemindersableType($value)
*/
class Reminder extends Eloquent
{

View File

@ -14,6 +14,7 @@ use Illuminate\Database\Eloquent\Model as Eloquent;
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereCode($value)
* @property-read \Illuminate\Database\Eloquent\Collection|\TransactionJournal[] $transactionJournals
*/
class TransactionCurrency extends Eloquent
{

View File

@ -52,6 +52,10 @@ use LaravelBook\Ardent\Builder;
* 'Budget[] $budgets
* @property-read \Illuminate\Database\Eloquent\Collection|\
* 'Category[] $categories
* @property-read \Illuminate\Database\Eloquent\Collection|\
* 'Budget[] $budgets
* @property-read \Illuminate\Database\Eloquent\Collection|\
* 'Category[] $categories
*/
class TransactionJournal extends Ardent
{

View File

@ -32,6 +32,7 @@ use LaravelBook\Ardent\Ardent;
* @method static \Illuminate\Database\Query\Builder|\User whereReset($value)
* @method static \Illuminate\Database\Query\Builder|\User whereRememberToken($value)
* @method static \Illuminate\Database\Query\Builder|\User whereMigrated($value)
* @property-read \Illuminate\Database\Eloquent\Collection|\Reminder[] $reminders
*/
class User extends Ardent implements UserInterface, RemindableInterface
{

View File

@ -1,7 +0,0 @@
REM composer self-update
composer update
php artisan clear-compiled --env=local
php artisan ide-helper:generate --env=local
php artisan ide-helper:models --env=local --write
php artisan optimize --env=local
php artisan dump-autoload --env=local

View File

@ -1,30 +0,0 @@
#!/bin/bash
cd ..
composer self-update
composer update
rm -f ./app/storage/firefly-iii-import-*.json
rm -f ./app/storage/debugbar/*.json
rm -f ./app/storage/logs/larave*.log
rm -f ./app/storage/meta/services.json
for i in `seq 0 9`;
do
rm -f ./app/storage/views/$i*
done
rm -f ./app/storage/views/a*
rm -f ./app/storage/views/b*
rm -f ./app/storage/views/c*
rm -f ./app/storage/views/d*
rm -f ./app/storage/views/e*
rm -f ./app/storage/views/f*
php artisan clear-compiled --env=local
php artisan ide-helper:generate --env=local
php artisan ide-helper:models --env=local --write
php artisan optimize --env=local
php artisan dump-autoload --env=local
cd scripts
./local-reset.sh

View File

@ -1,2 +0,0 @@
#!/bin/bash
php ../artisan migrate:refresh --seed --env=local

View File

@ -1,27 +0,0 @@
#!/bin/bash
composer self-update
composer update
rm -f ../app/storage/firefly-iii-import-*.json
rm -f ../app/storage/debugbar/*.json
rm -f ../app/storage/logs/laravel.log
rm -f ../app/storage/meta/services.json
for i in `seq 0 9`;
do
rm -f ../app/storage/views/$i*
done
rm -f ../app/storage/views/a*
rm -f ../app/storage/views/b*
rm -f ../app/storage/views/c*
rm -f ../app/storage/views/d*
rm -f ../app/storage/views/e*
rm -f ../app/storage/views/f*
php ../artisan clear-compiled --env=vagrant
php ../artisan ide-helper:generate --env=vagrant
php ../artisan ide-helper:models --env=vagrant --write
php ../artisan optimize --env=vagrant
php ../artisan dump-autoload --env=vagrant
./vagrant-reset.sh

View File

@ -1,2 +0,0 @@
#!/bin/bash
php ../artisan migrate --seed --env=vagrant

View File

@ -1,2 +0,0 @@
#!/bin/bash
php ../artisan migrate:refresh --seed --env=vagrant