1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00

Add OAuth2 authentication

This commit is contained in:
Frédéric Guillot 2017-11-22 22:22:33 -08:00
parent 9877051f12
commit cc6d272eb7
351 changed files with 81664 additions and 55 deletions

View file

@ -6,13 +6,15 @@ package storage
import (
"fmt"
"github.com/miniflux/miniflux2/sql"
"log"
"strconv"
"github.com/miniflux/miniflux2/sql"
)
const schemaVersion = 1
const schemaVersion = 2
// Migrate run database migrations.
func (s *Storage) Migrate() {
var currentVersion int
s.db.QueryRow(`select version from schema_version`).Scan(&currentVersion)