mirror of
https://github.com/makeplane/plane.git
synced 2026-07-12 13:29:56 +02:00
fix: workspace license deletes (#1595)
This commit is contained in:
@@ -9,8 +9,8 @@ class Command(BaseCommand):
|
||||
help = "Clear the workspace licenses on the start up"
|
||||
|
||||
def handle(self, *args, **options):
|
||||
# Clear the workspace licenses
|
||||
WorkspaceLicense.objects.all().delete()
|
||||
# Hard Delete all workspace licenses
|
||||
WorkspaceLicense.all_objects.all().delete()
|
||||
self.stdout.write(
|
||||
self.style.SUCCESS("Workspace licenses cleared successfully")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user