Change id column in LogEntry to a BigInt and migrate back to using that table
This commit is contained in:
parent
5e4d52f1fd
commit
7325b22c90
8 changed files with 56 additions and 22 deletions
|
@ -1,6 +1,6 @@
|
|||
import pytest
|
||||
|
||||
from data.database import LogEntry, LogEntry2, User
|
||||
from data.database import LogEntry, User
|
||||
from data.model import config as _config
|
||||
from data.model.log import log_action
|
||||
|
||||
|
@ -21,8 +21,8 @@ def logentry_kind():
|
|||
|
||||
@pytest.fixture()
|
||||
def logentry(logentry_kind):
|
||||
with patch('data.database.LogEntry2.create', spec=True):
|
||||
yield LogEntry2
|
||||
with patch('data.database.LogEntry.create', spec=True):
|
||||
yield LogEntry
|
||||
|
||||
@pytest.fixture()
|
||||
def user():
|
||||
|
|
Reference in a new issue