@@ -7,69 +7,104 @@ class Migration(migrations.Migration):
77
88 initial = True
99
10- dependencies = [
11- ]
10+ dependencies = []
1211
1312 operations = [
1413 migrations .CreateModel (
15- name = ' SlackBot' ,
14+ name = " SlackBot" ,
1615 fields = [
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 ()),
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+ ("enterprise_name" , models .TextField (null = True )),
29+ ("team_id" , models .TextField (null = True )),
30+ ("team_name" , models .TextField (null = True )),
31+ ("bot_token" , models .TextField (null = True )),
32+ ("bot_id" , models .TextField (null = True )),
33+ ("bot_user_id" , models .TextField (null = True )),
34+ ("bot_scopes" , models .TextField (null = True )),
35+ ("is_enterprise_install" , models .BooleanField (null = True )),
36+ ("installed_at" , models .DateTimeField ()),
3037 ],
3138 ),
3239 migrations .CreateModel (
33- name = ' SlackInstallation' ,
40+ name = " SlackInstallation" ,
3441 fields = [
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 ()),
42+ (
43+ "id" ,
44+ models .AutoField (
45+ auto_created = True ,
46+ primary_key = True ,
47+ serialize = False ,
48+ verbose_name = "ID" ,
49+ ),
50+ ),
51+ ("client_id" , models .TextField ()),
52+ ("app_id" , models .TextField ()),
53+ ("enterprise_id" , models .TextField (null = True )),
54+ ("enterprise_name" , models .TextField (null = True )),
55+ ("enterprise_url" , models .TextField (null = True )),
56+ ("team_id" , models .TextField (null = True )),
57+ ("team_name" , models .TextField (null = True )),
58+ ("bot_token" , models .TextField (null = True )),
59+ ("bot_id" , models .TextField (null = True )),
60+ ("bot_user_id" , models .TextField (null = True )),
61+ ("bot_scopes" , models .TextField (null = True )),
62+ ("user_id" , models .TextField ()),
63+ ("user_token" , models .TextField (null = True )),
64+ ("user_scopes" , models .TextField (null = True )),
65+ ("incoming_webhook_url" , models .TextField (null = True )),
66+ ("incoming_webhook_channel" , models .TextField (null = True )),
67+ ("incoming_webhook_channel_id" , models .TextField (null = True )),
68+ ("incoming_webhook_configuration_url" , models .TextField (null = True )),
69+ ("is_enterprise_install" , models .BooleanField (null = True )),
70+ ("token_type" , models .TextField (null = True )),
71+ ("installed_at" , models .DateTimeField ()),
5772 ],
5873 ),
5974 migrations .CreateModel (
60- name = ' SlackOAuthState' ,
75+ name = " SlackOAuthState" ,
6176 fields = [
62- ('id' , models .AutoField (auto_created = True , primary_key = True , serialize = False , verbose_name = 'ID' )),
63- ('state' , models .TextField ()),
64- ('expire_at' , models .DateTimeField ()),
77+ (
78+ "id" ,
79+ models .AutoField (
80+ auto_created = True ,
81+ primary_key = True ,
82+ serialize = False ,
83+ verbose_name = "ID" ,
84+ ),
85+ ),
86+ ("state" , models .TextField ()),
87+ ("expire_at" , models .DateTimeField ()),
6588 ],
6689 ),
6790 migrations .AddIndex (
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' ),
91+ model_name = "slackinstallation" ,
92+ index = models .Index (
93+ fields = [
94+ "client_id" ,
95+ "enterprise_id" ,
96+ "team_id" ,
97+ "user_id" ,
98+ "installed_at" ,
99+ ],
100+ name = "bolt_slacki_client__62c411_idx" ,
101+ ),
70102 ),
71103 migrations .AddIndex (
72- model_name = 'slackbot' ,
73- index = models .Index (fields = ['client_id' , 'enterprise_id' , 'team_id' , 'installed_at' ], name = 'bolt_slackb_client__be066b_idx' ),
104+ model_name = "slackbot" ,
105+ index = models .Index (
106+ fields = ["client_id" , "enterprise_id" , "team_id" , "installed_at" ],
107+ name = "bolt_slackb_client__be066b_idx" ,
108+ ),
74109 ),
75110 ]
0 commit comments