Skip to content

Commit 9649344

Browse files
authored
Merge pull request #118 from davidhozic/develop
Increase size of some SQL attributes
2 parents 8f46775 + 038e3a2 commit 9649344

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
__metadata__ = \
1414
{
15-
"version" : "1.9.1",
15+
"version" : "1.9.2",
1616
"requirements" : req,
1717
"minimum_py_version" : "3.8",
1818
}

src/framework/sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def create_analytic_objects(self) -> bool:
252252
* @Info: Returns relative number of fully successful attempts for specific guild/user.
253253
* If guild/user is not found or there are no logs for the guild/user, returns 1.
254254
*/
255-
DECLARE @internal_id smallint, @guild_type nvarchar(20), @rate decimal(8,5);
255+
DECLARE @internal_id int, @guild_type nvarchar(20), @rate decimal(8,5);
256256
257257
SELECT @internal_id = gu.id,
258258
@guild_type = gt.name
@@ -286,7 +286,7 @@ def create_analytic_objects(self) -> bool:
286286
"stm" : """
287287
PROCEDURE {}(@sent_data nvarchar(max),
288288
@message_type smallint,
289-
@guild_id smallint,
289+
@guild_id int,
290290
@message_mode smallint,
291291
@dm_reason nvarchar(max),
292292
@channels t_tmp_channel_log READONLY) AS

0 commit comments

Comments
 (0)