public function testDummies() { Schema::collection('newcollection', function ($collection) { $collection->boolean('activated')->default(0); $collection->integer('user_id')->unsigned(); }); }
/** * Run the migrations. * * @return void */ public function up() { Schema::collection('datadom', function ($table) { $table->enum('user_validation', array('pos', 'neg', 'neu')); }); }