##// END OF EJS Templates
updated migration schema
marcink -
r1133:07fcf168 beta
parent child Browse files
Show More
@@ -59,6 +59,8 b' def upgrade(migrate_engine):'
59 ldap_dn = Column("ldap_dn", String(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None)
59 ldap_dn = Column("ldap_dn", String(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None)
60 ldap_dn.create(User().__table__)
60 ldap_dn.create(User().__table__)
61
61
62 api_key = Column("api_key", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None)
63 api_key.create(User().__table__)
62
64
63 #remove old column
65 #remove old column
64 is_ldap = Column("is_ldap", Boolean(), nullable=False, unique=None, default=False)
66 is_ldap = Column("is_ldap", Boolean(), nullable=False, unique=None, default=False)
@@ -80,6 +82,14 b' def upgrade(migrate_engine):'
80
82
81 group_id.create(Repository().__table__)
83 group_id.create(Repository().__table__)
82
84
85
86 #ADD clone_uri column#
87
88 clone_uri = Column("clone_uri", String(length=255, convert_unicode=False,
89 assert_unicode=None),
90 nullable=True, unique=False, default=None)
91
92 clone_uri.create(Repository().__table__)
83 return
93 return
84
94
85
95
General Comments 0
You need to be logged in to leave comments. Login now