mirror of
https://github.com/miniflux/v2.git
synced 2025-09-30 19:22:11 +00:00
perf: convert some slices to array
This commit is contained in:
parent
afe80e6bae
commit
fa361ab1ce
3 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
var schemaVersion = len(migrations)
|
||||
|
||||
// Order is important. Add new migrations at the end of the list.
|
||||
var migrations = []func(tx *sql.Tx) error{
|
||||
var migrations = [...]func(tx *sql.Tx) error{
|
||||
func(tx *sql.Tx) (err error) {
|
||||
sql := `
|
||||
CREATE TABLE schema_version (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue