jongwoo Yoo
jongwoo Yoo
create directory when directory is not exist
when laravel5 and laravel-generators ~3.0 ``` $table->integer('role_id')->unsigned()->index(); $table->foreign('role_id')->references('id')->on('roles')->onDelete('cascade'); ``` error occurred when execute php artisan migrate ``` [Illuminate\Database\QueryException] SQLSTATE[HY000]: General error: 1005 Can't create table 'laravel.#sql-a93_6186' (errno: 150) (SQL: alter...
i am using cakephp framework PIE1.0 is working fine all browser(ie6 ~ie8 ) but PIE2.0 working only ie8 i am very confuse 1. i am test my server indivial html...
``` public function testAAA() { $mock = m::mock('overload:'. AAA::class); $mock->shouldReceive('aaa')->once()->andReturnSelf(); $mock->shouldReceive('bbb')->once()->andReturnSelf(); $mock->shouldReceive('ccc')->once()->andReturnSelf(); (new AAA)->aaa()->bbb()->ccc(); } ``` **error message** Mockery\Exception\InvalidCountException: Method bbb() from App\Database\Repositories\AAA should be called exactly 1 times but...
``` js $interpolate(string, mustHaveExpression, trustedContext); ``` but ``` js $interpolate(string, mustHaveExpression, trustedContext, allOrNothing) ``` is correct
change from `@Attributes` to `@Attribute` change from `constraints: false` to `foreignKeyConstraints: false`