mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-22 08:46:37 +00:00
Fix formatting
This commit is contained in:
parent
f31b1173a2
commit
3044557963
|
@ -11,7 +11,9 @@ Adding DISABLE_ALL to that array disables the migrations module entirely.
|
||||||
from selfprivacy_api.utils import ReadUserData
|
from selfprivacy_api.utils import ReadUserData
|
||||||
from selfprivacy_api.migrations.fix_nixos_config_branch import FixNixosConfigBranch
|
from selfprivacy_api.migrations.fix_nixos_config_branch import FixNixosConfigBranch
|
||||||
from selfprivacy_api.migrations.create_tokens_json import CreateTokensJson
|
from selfprivacy_api.migrations.create_tokens_json import CreateTokensJson
|
||||||
from selfprivacy_api.migrations.migrate_to_selfprivacy_channel import MigrateToSelfprivacyChannel
|
from selfprivacy_api.migrations.migrate_to_selfprivacy_channel import (
|
||||||
|
MigrateToSelfprivacyChannel,
|
||||||
|
)
|
||||||
|
|
||||||
migrations = [FixNixosConfigBranch(), CreateTokensJson(), MigrateToSelfprivacyChannel()]
|
migrations = [FixNixosConfigBranch(), CreateTokensJson(), MigrateToSelfprivacyChannel()]
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ from selfprivacy_api.migrations.migration import Migration
|
||||||
|
|
||||||
class MigrateToSelfprivacyChannel(Migration):
|
class MigrateToSelfprivacyChannel(Migration):
|
||||||
"""Migrate to selfprivacy Nix channel."""
|
"""Migrate to selfprivacy Nix channel."""
|
||||||
|
|
||||||
def get_migration_name(self):
|
def get_migration_name(self):
|
||||||
return "migrate_to_selfprivacy_channel"
|
return "migrate_to_selfprivacy_channel"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue