From: Thomas Goirand Date: Sat, 19 Oct 2013 06:59:28 +0000 (+0800) Subject: Really fix db setup (Closes: #726719) again. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=96677ac55a7f8010964975f95a58e8ea804ccd75;p=openstack-build%2Fneutron-build.git Really fix db setup (Closes: #726719) again. --- diff --git a/debian/patches/Use_proper_argument_in_add_column_method_call.patch b/debian/patches/Use_proper_argument_in_add_column_method_call.patch index 149311884..7720bfc74 100644 --- a/debian/patches/Use_proper_argument_in_add_column_method_call.patch +++ b/debian/patches/Use_proper_argument_in_add_column_method_call.patch @@ -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")