Skip to content

Commit

Permalink
regenerate migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
vokey authored and seratch committed Dec 6, 2020
1 parent 1d0268e commit 0603e0f
Showing 1 changed file with 48 additions and 74 deletions.
122 changes: 48 additions & 74 deletions examples/django/slackapp/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.1.1 on 2020-09-26 13:49
# Generated by Django 3.1.4 on 2020-12-04 13:07

from django.db import migrations, models

Expand All @@ -7,95 +7,69 @@ class Migration(migrations.Migration):

initial = True

dependencies = []
dependencies = [
]

operations = [
migrations.CreateModel(
name="SlackBot",
name='SlackBot',
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("client_id", models.TextField()),
("app_id", models.TextField()),
("enterprise_id", models.TextField(null=True)),
("team_id", models.TextField(null=True)),
("bot_token", models.TextField(null=True)),
("bot_id", models.TextField(null=True)),
("bot_user_id", models.TextField(null=True)),
("bot_scopes", models.TextField(null=True)),
("installed_at", models.DateTimeField()),
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('client_id', models.TextField()),
('app_id', models.TextField()),
('enterprise_id', models.TextField(null=True)),
('enterprise_name', models.TextField(null=True)),
('team_id', models.TextField(null=True)),
('team_name', models.TextField(null=True)),
('bot_token', models.TextField(null=True)),
('bot_id', models.TextField(null=True)),
('bot_user_id', models.TextField(null=True)),
('bot_scopes', models.TextField(null=True)),
('is_enterprise_install', models.BooleanField(null=True)),
('installed_at', models.DateTimeField()),
],
),
migrations.CreateModel(
name="SlackInstallation",
name='SlackInstallation',
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("client_id", models.TextField()),
("app_id", models.TextField()),
("enterprise_id", models.TextField(null=True)),
("team_id", models.TextField(null=True)),
("bot_token", models.TextField(null=True)),
("bot_id", models.TextField(null=True)),
("bot_user_id", models.TextField(null=True)),
("bot_scopes", models.TextField(null=True)),
("user_id", models.TextField()),
("user_token", models.TextField(null=True)),
("user_scopes", models.TextField(null=True)),
("incoming_webhook_url", models.TextField(null=True)),
("incoming_webhook_channel_id", models.TextField(null=True)),
("incoming_webhook_configuration_url", models.TextField(null=True)),
("installed_at", models.DateTimeField()),
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('client_id', models.TextField()),
('app_id', models.TextField()),
('enterprise_id', models.TextField(null=True)),
('enterprise_name', models.TextField(null=True)),
('enterprise_url', models.TextField(null=True)),
('team_id', models.TextField(null=True)),
('team_name', models.TextField(null=True)),
('bot_token', models.TextField(null=True)),
('bot_id', models.TextField(null=True)),
('bot_user_id', models.TextField(null=True)),
('bot_scopes', models.TextField(null=True)),
('user_id', models.TextField()),
('user_token', models.TextField(null=True)),
('user_scopes', models.TextField(null=True)),
('incoming_webhook_url', models.TextField(null=True)),
('incoming_webhook_channel', models.TextField(null=True)),
('incoming_webhook_channel_id', models.TextField(null=True)),
('incoming_webhook_configuration_url', models.TextField(null=True)),
('is_enterprise_install', models.BooleanField(null=True)),
('token_type', models.TextField(null=True)),
('installed_at', models.DateTimeField()),
],
),
migrations.CreateModel(
name="SlackOAuthState",
name='SlackOAuthState',
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("state", models.TextField()),
("expire_at", models.DateTimeField()),
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('state', models.TextField()),
('expire_at', models.DateTimeField()),
],
),
migrations.AddIndex(
model_name="slackinstallation",
index=models.Index(
fields=[
"client_id",
"enterprise_id",
"team_id",
"user_id",
"installed_at",
],
name="slackapp_sl_client__9b0d3f_idx",
),
model_name='slackinstallation',
index=models.Index(fields=['client_id', 'enterprise_id', 'team_id', 'user_id', 'installed_at'], name='bolt_slacki_client__62c411_idx'),
),
migrations.AddIndex(
model_name="slackbot",
index=models.Index(
fields=["client_id", "enterprise_id", "team_id", "installed_at"],
name="slackapp_sl_client__d220d6_idx",
),
model_name='slackbot',
index=models.Index(fields=['client_id', 'enterprise_id', 'team_id', 'installed_at'], name='bolt_slackb_client__be066b_idx'),
),
]

0 comments on commit 0603e0f

Please sign in to comment.