Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
0cb8376d
Commit
0cb8376d
authored
Jul 04, 2019
by
frankie
Browse files
fix(install): create some tables forcing utf8
fixes issue #1104
parent
bc31ed21
Changes
4
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
0cb8376d
...
...
@@ -1093,8 +1093,8 @@ sub _upgrade_table {
&&
$new_size
&&
$new_size
!=
$row
->
{
COLUMN_SIZE
})
{
$dbh
->
do
("
alter table
$table
change
$field
$field
$definition
");
warn
"
INFO: changing
$field
$row
->{COLUMN_SIZE} to
$new_size
in
$table
\n
"
if
$
0
!~
/\.t$/
;
$dbh
->
do
("
alter table
$table
change
$field
$field
$definition
");
return
;
}
...
...
sql/mysql/grant_types.sql
View file @
0cb8376d
...
...
@@ -6,4 +6,4 @@ CREATE TABLE `grant_types` (
UNIQUE
(
`name`
),
UNIQUE
(
`description`
),
PRIMARY
KEY
(
`id`
)
);
)
CHARACTER
SET
'utf8'
;
sql/mysql/users.sql
View file @
0cb8376d
...
...
@@ -9,5 +9,6 @@ CREATE TABLE `users` (
`language`
char
(
3
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`name`
(
`name`
)
);
)
CHARACTER
SET
'utf8'
;
sql/mysql/volumes.sql
View file @
0cb8376d
...
...
@@ -8,4 +8,4 @@ create table volumes (
PRIMARY
KEY
(
`id`
),
UNIQUE
(
`id_domain`
,
`name`
),
UNIQUE
(
`id_domain`
,
`n_order`
)
);
)
CHARACTER
SET
'utf8'
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment