Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
rednerd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orus-io
rednerd
Commits
1be3817b
Commit
1be3817b
authored
7 months ago
by
Christophe de Vienne
Browse files
Options
Downloads
Patches
Plain Diff
Add a noop db migration version
parent
84547435
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
migration/migration.go
+2
-2
2 additions, 2 deletions
migration/migration.go
migration/scripts/0017_noop.up.sql
+0
-0
0 additions, 0 deletions
migration/scripts/0017_noop.up.sql
with
2 additions
and
2 deletions
migration/migration.go
+
2
−
2
View file @
1be3817b
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
)
)
//go:embed scripts/*
//go:embed scripts/*
var
e
mbeddedScripts
embed
.
FS
var
E
mbeddedScripts
embed
.
FS
func
initSource
()
source
.
Driver
{
func
initSource
()
source
.
Driver
{
// Wrap the embed.FS in an iofs driver
// Wrap the embed.FS in an iofs driver
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
func
initSource
()
source
.
Driver
{
func
initSource
()
source
.
Driver
{
// Wrap the embed.FS in an iofs driver
// Wrap the embed.FS in an iofs driver
sub
,
err
:=
fs
.
Sub
(
e
mbeddedScripts
,
"scripts"
)
sub
,
err
:=
fs
.
Sub
(
E
mbeddedScripts
,
"scripts"
)
if
err
!=
nil
{
if
err
!=
nil
{
panic
(
err
)
panic
(
err
)
}
}
...
...
This diff is collapsed.
Click to expand it.
migration/scripts/0017_noop.up.sql
0 → 100644
+
0
−
0
View file @
1be3817b
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment