increments('id'); $table->integer('account_id'); $table->date('date'); $table->integer('rate'); $table->mediumText('comment')->nullable(); $table->timestamps(); }); Schema::create('journal_entries', function (Blueprint $table) { $table->increments('id'); $table->integer('account_id'); $table->dateTime('date'); $table->integer('journalable_id'); $table->string('journalable_type'); $table->timestamps(); }); } }