diff options
| author | Aurélien Bompard | 2014-10-03 17:06:45 +0200 |
|---|---|---|
| committer | Aurélien Bompard | 2014-10-03 17:06:45 +0200 |
| commit | 7806170485eafd3b8c8fdd3943a48dff1a8fd92d (patch) | |
| tree | a087f6a844002050ef5895ea8112309805517230 /src/mailman/database/base.py | |
| parent | 32ad5c42ecc355bcc05ac58fb5a9f15481ba7d05 (diff) | |
| download | mailman-7806170485eafd3b8c8fdd3943a48dff1a8fd92d.tar.gz mailman-7806170485eafd3b8c8fdd3943a48dff1a8fd92d.tar.zst mailman-7806170485eafd3b8c8fdd3943a48dff1a8fd92d.zip | |
Diffstat (limited to 'src/mailman/database/base.py')
| -rw-r--r-- | src/mailman/database/base.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mailman/database/base.py b/src/mailman/database/base.py index 0afdad204..784efcd68 100644 --- a/src/mailman/database/base.py +++ b/src/mailman/database/base.py @@ -91,18 +91,6 @@ class SABaseDatabase: """ pass - def stamp(self, debug=False): - """Stamp the database with the latest alembic version. - """ - # Newly created database don't need to migrations from alembic, since - # `create_all`` ceates the latest schema. SO patch the database with - # the latest alembic version to add a entry in alembic_version table. - alembic_cfg = Config() - alembic_cfg.set_main_option( - "script_location", config.alembic['script_location']) - command.stamp(alembic_cfg, "head") - - def initialize(self, debug=None): """See `IDatabase`.""" # Calculate the engine url. |
