Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to delete domains #143

Open
t2d opened this issue Mar 3, 2019 · 1 comment
Open

Impossible to delete domains #143

t2d opened this issue Mar 3, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@t2d
Copy link
Contributor

t2d commented Mar 3, 2019

There's no reason why admins shouldn't be able to delete a domain when it's not used anymore.

@t2d t2d added the enhancement New feature or request label Mar 3, 2019
@t2d
Copy link
Contributor Author

t2d commented Mar 3, 2019

In database currently necessary:

# delete vouchers for each user
MariaDB [mail]> DELETE FROM virtual_vouchers WHERE user_id = 1312;
Query OK, 3 rows affected (0.01 sec)

# delete all users
MariaDB [mail]> DELETE FROM virtual_users WHERE domain_id = 42;
Query OK, 1 row affected (0.00 sec)

# delete domain
MariaDB [mail]> DELETE FROM virtual_domains where name = 'example.de';
Query OK, 1 row affected (0.04 sec)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant