mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 14:02:24 +01:00
Increase size of release URL
This commit is contained in:
parent
fb22408794
commit
ba9879076d
@ -390,7 +390,7 @@ class PackageRelease(db.Model):
|
||||
package_id = db.Column(db.Integer, db.ForeignKey("package.id"))
|
||||
title = db.Column(db.String(100), nullable=False)
|
||||
releaseDate = db.Column(db.DateTime, nullable=False)
|
||||
url = db.Column(db.String(100), nullable=False)
|
||||
url = db.Column(db.String(200), nullable=False)
|
||||
approved = db.Column(db.Boolean, nullable=False, default=False)
|
||||
task_id = db.Column(db.String(37), nullable=True)
|
||||
|
||||
|
34
migrations/versions/81e0eb07a3cd_.py
Normal file
34
migrations/versions/81e0eb07a3cd_.py
Normal file
@ -0,0 +1,34 @@
|
||||
"""empty message
|
||||
|
||||
Revision ID: 81e0eb07a3cd
|
||||
Revises: f30031f0b928
|
||||
Create Date: 2018-05-23 19:22:56.590653
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '81e0eb07a3cd'
|
||||
down_revision = 'f30031f0b928'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.alter_column('package_release', 'url',
|
||||
existing_type=sa.VARCHAR(length=100),
|
||||
type_=sa.String(length=200),
|
||||
existing_nullable=False)
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.alter_column('package_release', 'url',
|
||||
existing_type=sa.String(length=200),
|
||||
type_=sa.VARCHAR(length=100),
|
||||
existing_nullable=False)
|
||||
# ### end Alembic commands ###
|
Loading…
Reference in New Issue
Block a user