1- # Generated by Django 3.1.1 on 2020-09-26 13:49
1+ # Generated by Django 3.1.4 on 2020-12-04 13:07
22
33from django .db import migrations , models
44
@@ -7,95 +7,69 @@ class Migration(migrations.Migration):
77
88 initial = True
99
10- dependencies = []
10+ dependencies = [
11+ ]
1112
1213 operations = [
1314 migrations .CreateModel (
14- name = " SlackBot" ,
15+ name = ' SlackBot' ,
1516 fields = [
16- (
17- "id" ,
18- models .AutoField (
19- auto_created = True ,
20- primary_key = True ,
21- serialize = False ,
22- verbose_name = "ID" ,
23- ),
24- ),
25- ("client_id" , models .TextField ()),
26- ("app_id" , models .TextField ()),
27- ("enterprise_id" , models .TextField (null = True )),
28- ("team_id" , models .TextField (null = True )),
29- ("bot_token" , models .TextField (null = True )),
30- ("bot_id" , models .TextField (null = True )),
31- ("bot_user_id" , models .TextField (null = True )),
32- ("bot_scopes" , models .TextField (null = True )),
33- ("installed_at" , models .DateTimeField ()),
17+ ('id' , models .AutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
18+ ('client_id' , models .TextField ()),
19+ ('app_id' , models .TextField ()),
20+ ('enterprise_id' , models .TextField (null = True )),
21+ ('enterprise_name' , models .TextField (null = True )),
22+ ('team_id' , models .TextField (null = True )),
23+ ('team_name' , models .TextField (null = True )),
24+ ('bot_token' , models .TextField (null = True )),
25+ ('bot_id' , models .TextField (null = True )),
26+ ('bot_user_id' , models .TextField (null = True )),
27+ ('bot_scopes' , models .TextField (null = True )),
28+ ('is_enterprise_install' , models .BooleanField (null = True )),
29+ ('installed_at' , models .DateTimeField ()),
3430 ],
3531 ),
3632 migrations .CreateModel (
37- name = " SlackInstallation" ,
33+ name = ' SlackInstallation' ,
3834 fields = [
39- (
40- "id" ,
41- models .AutoField (
42- auto_created = True ,
43- primary_key = True ,
44- serialize = False ,
45- verbose_name = "ID" ,
46- ),
47- ),
48- ("client_id" , models .TextField ()),
49- ("app_id" , models .TextField ()),
50- ("enterprise_id" , models .TextField (null = True )),
51- ("team_id" , models .TextField (null = True )),
52- ("bot_token" , models .TextField (null = True )),
53- ("bot_id" , models .TextField (null = True )),
54- ("bot_user_id" , models .TextField (null = True )),
55- ("bot_scopes" , models .TextField (null = True )),
56- ("user_id" , models .TextField ()),
57- ("user_token" , models .TextField (null = True )),
58- ("user_scopes" , models .TextField (null = True )),
59- ("incoming_webhook_url" , models .TextField (null = True )),
60- ("incoming_webhook_channel_id" , models .TextField (null = True )),
61- ("incoming_webhook_configuration_url" , models .TextField (null = True )),
62- ("installed_at" , models .DateTimeField ()),
35+ ('id' , models .AutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
36+ ('client_id' , models .TextField ()),
37+ ('app_id' , models .TextField ()),
38+ ('enterprise_id' , models .TextField (null = True )),
39+ ('enterprise_name' , models .TextField (null = True )),
40+ ('enterprise_url' , models .TextField (null = True )),
41+ ('team_id' , models .TextField (null = True )),
42+ ('team_name' , models .TextField (null = True )),
43+ ('bot_token' , models .TextField (null = True )),
44+ ('bot_id' , models .TextField (null = True )),
45+ ('bot_user_id' , models .TextField (null = True )),
46+ ('bot_scopes' , models .TextField (null = True )),
47+ ('user_id' , models .TextField ()),
48+ ('user_token' , models .TextField (null = True )),
49+ ('user_scopes' , models .TextField (null = True )),
50+ ('incoming_webhook_url' , models .TextField (null = True )),
51+ ('incoming_webhook_channel' , models .TextField (null = True )),
52+ ('incoming_webhook_channel_id' , models .TextField (null = True )),
53+ ('incoming_webhook_configuration_url' , models .TextField (null = True )),
54+ ('is_enterprise_install' , models .BooleanField (null = True )),
55+ ('token_type' , models .TextField (null = True )),
56+ ('installed_at' , models .DateTimeField ()),
6357 ],
6458 ),
6559 migrations .CreateModel (
66- name = " SlackOAuthState" ,
60+ name = ' SlackOAuthState' ,
6761 fields = [
68- (
69- "id" ,
70- models .AutoField (
71- auto_created = True ,
72- primary_key = True ,
73- serialize = False ,
74- verbose_name = "ID" ,
75- ),
76- ),
77- ("state" , models .TextField ()),
78- ("expire_at" , models .DateTimeField ()),
62+ ('id' , models .AutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
63+ ('state' , models .TextField ()),
64+ ('expire_at' , models .DateTimeField ()),
7965 ],
8066 ),
8167 migrations .AddIndex (
82- model_name = "slackinstallation" ,
83- index = models .Index (
84- fields = [
85- "client_id" ,
86- "enterprise_id" ,
87- "team_id" ,
88- "user_id" ,
89- "installed_at" ,
90- ],
91- name = "slackapp_sl_client__9b0d3f_idx" ,
92- ),
68+ model_name = 'slackinstallation' ,
69+ index = models .Index (fields = ['client_id' , 'enterprise_id' , 'team_id' , 'user_id' , 'installed_at' ], name = 'bolt_slacki_client__62c411_idx' ),
9370 ),
9471 migrations .AddIndex (
95- model_name = "slackbot" ,
96- index = models .Index (
97- fields = ["client_id" , "enterprise_id" , "team_id" , "installed_at" ],
98- name = "slackapp_sl_client__d220d6_idx" ,
99- ),
72+ model_name = 'slackbot' ,
73+ index = models .Index (fields = ['client_id' , 'enterprise_id' , 'team_id' , 'installed_at' ], name = 'bolt_slackb_client__be066b_idx' ),
10074 ),
10175 ]
0 commit comments