Some migration fixes and database optimizations
This commit is contained in:
@@ -25,7 +25,7 @@ func migrateToSchema1(db *sql.DB) {
|
||||
}
|
||||
|
||||
// Recreate it
|
||||
createUsersTable(db)
|
||||
CreateMessagesTable(db)
|
||||
|
||||
// Migrate access tokens to become chat users
|
||||
type oldAccessToken struct {
|
||||
|
||||
Reference in New Issue
Block a user