From 96677ac55a7f8010964975f95a58e8ea804ccd75 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sat, 19 Oct 2013 14:59:28 +0800 Subject: [PATCH] Really fix db setup (Closes: #726719) again. --- .../patches/Use_proper_argument_in_add_column_method_call.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.45.2