Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

sqlite, you're doing it wrong ;) #4311

Merged
merged 3 commits into from
Jun 24, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions golem/database/schemas/030_wallet_operation_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@


def migrate(migrator, database, fake=False, **kwargs):
migrator.sql("PRAGMA foreign_keys=off;")
migrator.drop_not_null('walletoperation', 'tx_hash')
migrator.sql("PRAGMA foreign_keys=on;")
migrator.remove_fields('taskpayment', 'accepted_ts', 'settled_ts')
migrator.add_fields(
'taskpayment',
Expand Down