Skip to content

Commit 8536d05

Browse files
authored
Merge pull request CloudBotIRC#142 from linuxdaemon/gonzobot+fix-seen-table
Fix time column type in seen_user table
2 parents 9e9fb74 + cc99ba8 commit 8536d05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/history.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import time
44
from collections import deque
55

6-
from sqlalchemy import Table, Column, String, PrimaryKeyConstraint
6+
from sqlalchemy import Table, Column, String, PrimaryKeyConstraint, Float
77

88
from cloudbot import hook
99
from cloudbot.event import EventType
@@ -13,7 +13,7 @@
1313
'seen_user',
1414
database.metadata,
1515
Column('name', String),
16-
Column('time', String),
16+
Column('time', Float),
1717
Column('quote', String),
1818
Column('chan', String),
1919
Column('host', String),

0 commit comments

Comments
 (0)