create('osu_leaderboard', function (Blueprint $table) { $table->integer('user_id'); $table->string('username'); $table->integer('osu_user_id'); $table->string('osu_username'); $table->tinyInteger('osu_game_mode'); $table->integer('osu_count_300'); $table->integer('osu_count_100'); $table->integer('osu_count_50'); $table->integer('osu_count_ss'); $table->integer('osu_count_s'); $table->integer('osu_count_a'); $table->integer('osu_play_count'); $table->bigInteger('osu_score_ranked'); $table->bigInteger('osu_score_total'); $table->integer('osu_rank'); $table->char('osu_country', 2); $table->integer('osu_rank_country'); $table->float('osu_performance'); $table->float('osu_accuracy'); $table->float('osu_level'); $table->timestamp('updated_on'); }); } /** * Reverse the migrations. * @return void */ public function down() { $schema = DB::getSchemaBuilder(); $schema->drop('osu_leaderboard'); } }