##// END OF EJS Templates
db: reduce size of fingerprint column for mysql compat....
marcink -
r2220:c5a681cc stable
parent child Browse files
Show More
@@ -1158,7 +1158,7 b' class UserSshKeys(Base, BaseModel):'
1158
1158
1159 ssh_key_id = Column('ssh_key_id', Integer(), nullable=False, unique=True, default=None, primary_key=True)
1159 ssh_key_id = Column('ssh_key_id', Integer(), nullable=False, unique=True, default=None, primary_key=True)
1160 ssh_key_data = Column('ssh_key_data', String(10240), nullable=False, unique=None, default=None)
1160 ssh_key_data = Column('ssh_key_data', String(10240), nullable=False, unique=None, default=None)
1161 ssh_key_fingerprint = Column('ssh_key_fingerprint', String(1024), nullable=False, unique=None, default=None)
1161 ssh_key_fingerprint = Column('ssh_key_fingerprint', String(255), nullable=False, unique=None, default=None)
1162
1162
1163 description = Column('description', UnicodeText().with_variant(UnicodeText(1024), 'mysql'))
1163 description = Column('description', UnicodeText().with_variant(UnicodeText(1024), 'mysql'))
1164
1164
@@ -1207,7 +1207,7 b' class UserSshKeys(Base, BaseModel):'
1207
1207
1208 ssh_key_id = Column('ssh_key_id', Integer(), nullable=False, unique=True, default=None, primary_key=True)
1208 ssh_key_id = Column('ssh_key_id', Integer(), nullable=False, unique=True, default=None, primary_key=True)
1209 ssh_key_data = Column('ssh_key_data', String(10240), nullable=False, unique=None, default=None)
1209 ssh_key_data = Column('ssh_key_data', String(10240), nullable=False, unique=None, default=None)
1210 ssh_key_fingerprint = Column('ssh_key_fingerprint', String(1024), nullable=False, unique=None, default=None)
1210 ssh_key_fingerprint = Column('ssh_key_fingerprint', String(255), nullable=False, unique=None, default=None)
1211
1211
1212 description = Column('description', UnicodeText().with_variant(UnicodeText(1024), 'mysql'))
1212 description = Column('description', UnicodeText().with_variant(UnicodeText(1024), 'mysql'))
1213
1213
General Comments 0
You need to be logged in to leave comments. Login now