Skip to content

Commit

Permalink
Remove schema prefix from table name
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Oct 6, 2023
1 parent 925270e commit b283357
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public async Task<int> OnExecuteAsync(CancellationToken cancellationToken)
// InsertAsync is broken and doesn't support BIGINT primary keys...
using (var insertCommand = db.CreateCommand())
{
insertCommand.CommandText = "INSERT INTO osu.solo_scores (user_id, beatmap_id, ruleset_id, data, preserve, created_at, updated_at) VALUES (@user_id, @beatmap_id, @ruleset_id, @data, @preserve, @created_at, @updated_at)";
insertCommand.CommandText = "INSERT INTO solo_scores (user_id, beatmap_id, ruleset_id, data, preserve, created_at, updated_at) VALUES (@user_id, @beatmap_id, @ruleset_id, @data, @preserve, @created_at, @updated_at)";

var paramUserId = insertCommand.Parameters.Add("user_id", DbType.UInt32);
var paramBeatmapId = insertCommand.Parameters.Add("beatmap_id", MySqlDbType.UInt24);
Expand Down

0 comments on commit b283357

Please sign in to comment.