Commit 388b4a44 authored by Alexis POYEN's avatar Alexis POYEN
Browse files

Started with the SDK documentation

parent f5a59218
HOSTNAME=sdk-go.127.0.0.1.nip.io
ADMIN_ROLE=ADMINS
CLIENT_ROLE=CLIENTS
ADMIN_GROUP=ADMINS
CLIENT_GROUP=CLIENTS
# Needed to user OAuth2 authentication :
REDIRECT_URL=https://${HOSTNAME}/OAuth2Callback
......
......@@ -47,9 +47,6 @@ func NewDataHandler() *DataHandler {
}
db.LogMode(true)
// Add FK with SQLite doesn't work
// db.Model(&Operation{}).AddForeignKey("creditor", "bank_account(id)", "Set Null", "Set Null")
// Migrate the schema
db.AutoMigrate(&UserClient{})
db.AutoMigrate(&UserBanker{})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment