diff options
| author | Abhilash Raj | 2015-03-26 03:06:58 +0530 |
|---|---|---|
| committer | Abhilash Raj | 2015-03-26 03:06:58 +0530 |
| commit | c5b114328eac659bb0f33f9727efffea88dc3542 (patch) | |
| tree | 4fbb17365ce684d663f7c239ce799a3d215bb5b2 /src/mailman/database/alembic | |
| parent | ae2a7c9a22f5b6eeed1a6884c6dcd87ed9ba673d (diff) | |
| download | mailman-c5b114328eac659bb0f33f9727efffea88dc3542.tar.gz mailman-c5b114328eac659bb0f33f9727efffea88dc3542.tar.zst mailman-c5b114328eac659bb0f33f9727efffea88dc3542.zip | |
all tests passing now (except doctests)
Diffstat (limited to 'src/mailman/database/alembic')
| -rw-r--r-- | src/mailman/database/alembic/versions/46e92facee7_add_serverowner_domainowner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/database/alembic/versions/46e92facee7_add_serverowner_domainowner.py b/src/mailman/database/alembic/versions/46e92facee7_add_serverowner_domainowner.py index bf42e2232..613e4d22d 100644 --- a/src/mailman/database/alembic/versions/46e92facee7_add_serverowner_domainowner.py +++ b/src/mailman/database/alembic/versions/46e92facee7_add_serverowner_domainowner.py @@ -23,7 +23,7 @@ def upgrade(): sa.ForeignKeyConstraint(['user_id'], ['user.id'], ), sa.PrimaryKeyConstraint('user_id', 'domain_id') ) - op.add_column('user', sa.Column('is_serverowner', sa.Boolean(), + op.add_column('user', sa.Column('is_server_owner', sa.Boolean(), nullable=True)) if op.get_bind().dialect.name != 'sqlite': op.drop_column('domain', 'contact_address') @@ -36,7 +36,7 @@ def upgrade(): def downgrade(): ### commands auto generated by Alembic - please adjust! ### - op.drop_column('user', 'is_serverowner') + op.drop_column('user', 'is_server_owner') if op.get_bind().dialect.name != 'sqlite': op.add_column('domain', sa.Column('contact_address', sa.VARCHAR(), nullable=True)) |
