id(); $table->string( 'uuid', 36 )->not_null(); $table->unique( 'uuid' ); $table->foreign_id( 'user_id' ); $table->string( 'channel', 20 )->not_null()->default( 'admin' ); $table->string( 'title', 255 )->nullable(); $table->datetime( 'created_at' )->not_null(); $table->datetime( 'updated_at' )->not_null(); }); } /** * Reverse the migration. * * @return void */ public function down() { Schema::drop_if_exists( 'aisentic_conversations' ); } }