bigIncrements('id'); $table->integer('siswa_id'); $table->enum('tipe', ['in','out']); $table->double('jumlah'); $table->double('saldo'); $table->text('keperluan')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('tabungan'); } }