Skip to content

Commit

Permalink
Remove sqlite3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle committed Jan 3, 2018
1 parent 4d3d7f9 commit 42689a0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ Controls what endpoint Netlify can access this API on.
### Database

```
GOTRUE_DB_DRIVER=sqlite3
DATABASE_URL=gotrue.db
GOTRUE_DB_DRIVER=mysql
DATABASE_URL=root@localhost/gotrue
```

`DB_DRIVER` - `string` **required**

Chooses what dialect of database you want. Choose from `sqlite3`, `mysql`, or `postgres`.
Chooses what dialect of database you want. Choose from `mysql` or `postgres`.

`DATABASE_URL` (no prefix) / `DB_DATABASE_URL` - `string` **required**

Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"env": {
"DATABASE_URL": {},
"GOTRUE_DB_DRIVER": {
"value": "sqlite3"
"value": "mysql"
},
"GOTRUE_DB_AUTOMIGRATE": {
"value": true
Expand Down
6 changes: 2 additions & 4 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ import:
- package: github.com/go-sql-driver/mysql
version: v1.3
- package: github.com/lib/pq
- package: github.com/mattn/go-sqlite3
version: v1.1.0
- package: github.com/spf13/viper
- package: github.com/go-chi/chi
version: v3.1.4
Expand Down
1 change: 0 additions & 1 deletion storage/sql/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
_ "github.com/GoogleCloudPlatform/cloudsql-proxy/proxy/dialers/postgres"
_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
_ "github.com/mattn/go-sqlite3"

"github.com/jinzhu/gorm"
"github.com/netlify/gotrue/conf"
Expand Down

0 comments on commit 42689a0

Please sign in to comment.