From 79ffb5051c2d5f63375745b5e5305c799c2d83cb Mon Sep 17 00:00:00 2001 From: Alex <$(pass /github/email)> Date: Wed, 9 Oct 2024 18:12:54 +0200 Subject: [PATCH] chg: admin creation --- internal/database/db.go | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/internal/database/db.go b/internal/database/db.go index 3e53c79..202367e 100644 --- a/internal/database/db.go +++ b/internal/database/db.go @@ -98,7 +98,7 @@ func createLicenceCategories() []models.LicenceCategory { {Category: "CE"}, {Category: "D1E"}, {Category: "DE"}, - {Category: "R"}, + {Category: "T"}, {Category: "L"}, } } @@ -142,16 +142,12 @@ func createAdmin(userMail string, subscriptionModelID uint) (*models.User, error StartDate: time.Now(), SubscriptionModelID: subscriptionModelID, }, - BankAccount: models.BankAccount{ - AccountHolderName: "", - Bank: "", - IBAN: "", //"DE49700500000008447644", //fake - }, + BankAccount: models.BankAccount{}, DriversLicence: models.DriversLicence{ Status: constants.UnverifiedStatus, }, }, nil - + //"DE49700500000008447644", //fake } func Close() error {