Skip to content

Commit

Permalink
mysql charsets
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloszKrajewski committed May 8, 2021
1 parent abe1f93 commit 559993c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## 0.1.2 (2021/05/08)
## 0.1.3 (2021/05/08)
* CHANGED: upgraded MySqlConnector to v1
* CHANGED: upgraded Dapper to v2
* CHANGED: updated minimum required versions of dependencies
* BUGFIX: removed PruneInterval setter from interface
* CHANGED: explicit field charsets for MySql

## 0.0.20 (2021/04/27)
* CHANGED: keep completed and failed jobs (for a period of time)
Expand Down
6 changes: 3 additions & 3 deletions Common.targets
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>
<PropertyGroup>
<Version>0.1.2</Version>
<AssemblyVersion>0.1.2</AssemblyVersion>
<FileVersion>0.1.2</FileVersion>
<Version>0.1.3</Version>
<AssemblyVersion>0.1.3</AssemblyVersion>
<FileVersion>0.1.3</FileVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Χρόνος -->
Expand Down
5 changes: 5 additions & 0 deletions src/K4os.Xpovoc.MySql/Resources/Migrations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@
alter table `{prefix}Jobs` drop index ix_scan;
create index ix_scan on `{prefix}Jobs` (status, invisible_until, scheduled_for);
]]></migration>
<migration id="20210508_explicit_charsets"><![CDATA[
alter table `{prefix}Jobs` modify job_id char(36) character set ascii not null;
alter table `{prefix}Jobs` modify claimed_by char(36) character set ascii null;
alter table `{prefix}Jobs` modify payload longtext character set utf8mb4 null;
]]></migration>
</migrations>

0 comments on commit 559993c

Please sign in to comment.