commit
This commit is contained in:
@@ -13,7 +13,7 @@ type ConsoleLogEntry struct {
|
||||
Traceback string `bson:"traceback"`
|
||||
Message string `bson:"message"`
|
||||
Time time.Time `bson:"time"`
|
||||
TimeStamp int64 `bson:"time_stamp"`
|
||||
TimeStamp int64 `bson:"timeStamp"`
|
||||
}
|
||||
|
||||
func WriteConsoleLog(db *laniakea.DatabaseContext, e *ConsoleLogEntry) error {
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
package psql
|
||||
|
||||
import "kurumibot/database"
|
||||
|
||||
func Migrate() error {
|
||||
return database.PostgresDatabase.AutoMigrate(
|
||||
&User{}, &Fraction{}, &Group{}, &Waifu{}, &Work{},
|
||||
&ShopAuto{}, &ShopBusiness{}, &ShopMaid{}, &ShopMiner{},
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user