]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Really fix db setup (Closes: #726719) again.
authorThomas Goirand <thomas@goirand.fr>
Sat, 19 Oct 2013 06:59:28 +0000 (14:59 +0800)
committerThomas Goirand <thomas@goirand.fr>
Sat, 19 Oct 2013 06:59:28 +0000 (14:59 +0800)
debian/patches/Use_proper_argument_in_add_column_method_call.patch

index 149311884b02bf8b3555fed7d39e68db0eb9e164..7720bfc74a0fe4dc759e18d5087b04b74225b66b 100644 (file)
@@ -12,7 +12,7 @@ Last-Update: Fri, 18 Oct 2013 21:50:42 +0800 (17:50 +0400)
  
      op.add_column('routers', sa.Column('enable_snat', sa.Boolean(),
 -                                       nullable=False, default=True))
-+                                       nullable=False), server_default=True)
++                                       nullable=False, server_default='1'))
      # Set enable_snat to True for existing routers
      op.execute("UPDATE routers SET enable_snat=True")