You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 2022021012490600_add_account_type.go
    path of file: ./repos/dendrite/userapi/storage/sqlite3/deltas
    
    the code of the file until where you have to start completion: package deltas

import (
	"context"
	"database/sql"
	"fmt"
)

func UpAddAccountType(ctx context.Context, tx *sql.Tx) error {
	// initially set every account to useraccount
    
func DownAddAccountType(ctx context.Context, tx *sql.Tx) error {
	_, err := tx.ExecContext(ctx, `ALTER TABLE userapi_accounts DROP COLUMN account_type;`)
	if err != nil {
		return fmt.Errorf("failed to execute downgrade: %w", err)
	}
	return nil
}