mirror of https://github.com/calzoneman/sync.git
Explicitly use UTF8 encoding for media metadata table (#863)
This commit is contained in:
parent
a53f65a1d5
commit
f2adbe18da
|
@ -147,6 +147,7 @@ export async function initTables() {
|
||||||
// The types of id and type are chosen for compatibility
|
// The types of id and type are chosen for compatibility
|
||||||
// with the existing channel_libraries table.
|
// with the existing channel_libraries table.
|
||||||
// TODO in the future schema, revisit the ID layout for different media types.
|
// TODO in the future schema, revisit the ID layout for different media types.
|
||||||
|
t.charset('utf8');
|
||||||
t.string('id', 255).notNullable();
|
t.string('id', 255).notNullable();
|
||||||
t.string('type', 2).notNullable();
|
t.string('type', 2).notNullable();
|
||||||
t.text('metadata').notNullable();
|
t.text('metadata').notNullable();
|
||||||
|
|
Loading…
Reference in New Issue