remove channel group model

* Websocket user session <-> group subscription membership now resides
in Redis rather than the database.
This commit is contained in:
chris meyers 2020-02-17 10:40:45 -05:00 committed by Ryan Petrello
parent 14320bc8e6
commit 3b9e67ed1b
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777
4 changed files with 16 additions and 12 deletions

View File

@ -0,0 +1,16 @@
# Generated by Django 2.2.8 on 2020-02-17 14:50
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0109_v370_instance_ip_address'),
]
operations = [
migrations.DeleteModel(
name='ChannelGroup',
),
]

View File

@ -58,7 +58,6 @@ from awx.main.models.workflow import ( # noqa
WorkflowJob, WorkflowJobNode, WorkflowJobOptions, WorkflowJobTemplate,
WorkflowJobTemplateNode, WorkflowApproval, WorkflowApprovalTemplate,
)
from awx.main.models.channels import ChannelGroup # noqa
from awx.api.versioning import reverse
from awx.main.models.oauth import ( # noqa
OAuth2AccessToken, OAuth2Application

View File

@ -1,6 +0,0 @@
from django.db import models
class ChannelGroup(models.Model):
group = models.CharField(max_length=200, unique=True)
channels = models.TextField()

View File

@ -451,11 +451,6 @@ CELERYBEAT_SCHEDULE = {
# 'isolated_heartbeat': set up at the end of production.py and development.py
}
ASGI_AMQP = {
'INIT_FUNC': 'awx.prepare_env',
'MODEL': 'awx.main.models.channels.ChannelGroup',
}
# Django Caching Configuration
CACHES = {
'default': {