Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function create()
- {
- // criar o teste para criar um novo ou editar.
- $this->makeCreate();
- $this->makeUpdate();
- }
- Schema::create('motorcycle_variations_price', function (Blueprint $table){
- $table->unsignedInteger('id');
- $table->decimal('price', 10, 2);
- $table->json('infos_home');
- $table->timestamps();
- $table->foreign('id')->references('id')->on('motorcycle_variations');
- $table->primary('id');
- });
Add Comment
Please, Sign In to add comment