Guest User

Untitled

a guest
Jan 22nd, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. public function create()
  2. {
  3. // criar o teste para criar um novo ou editar.
  4. $this->makeCreate();
  5. $this->makeUpdate();
  6. }
  7.  
  8. Schema::create('motorcycle_variations_price', function (Blueprint $table){
  9. $table->unsignedInteger('id');
  10. $table->decimal('price', 10, 2);
  11. $table->json('infos_home');
  12. $table->timestamps();
  13.  
  14. $table->foreign('id')->references('id')->on('motorcycle_variations');
  15. $table->primary('id');
  16.  
  17. });
Add Comment
Please, Sign In to add comment