Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Barsukov
zGo
Commits
01dc2569
Commit
01dc2569
authored
Nov 28, 2023
by
Vladimir Barsukov
Browse files
fix
parent
624b16cb
Changes
1
Show whitespace changes
Inline
Side-by-side
zmigrations/zmigration.go
View file @
01dc2569
...
...
@@ -33,7 +33,7 @@ func Migrations(db *zdb.Pool, files embed.FS, loc string, reCreateSchema ...stri
if
zdb
.
IsEmpty
(
err
)
{
var
b
[]
byte
if
b
,
err
=
files
.
ReadFile
(
loc
+
m
.
Name
());
err
!=
nil
{
if
b
,
err
=
files
.
ReadFile
(
loc
+
"/"
+
m
.
Name
());
err
!=
nil
{
return
err
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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