From 26c4006c87b78e7f068e00566f3cc907b9efdec6 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sun, 15 May 2016 09:49:35 -0400
Subject: [PATCH] Improve migration of the composer.json file when updating

---
 SQL/oracle.initial.sql |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/SQL/oracle.initial.sql b/SQL/oracle.initial.sql
index 0110abf..82ee1d8 100644
--- a/SQL/oracle.initial.sql
+++ b/SQL/oracle.initial.sql
@@ -7,6 +7,8 @@
     "mail_host" varchar(128) NOT NULL,
     "created" timestamp with time zone DEFAULT current_timestamp NOT NULL,
     "last_login" timestamp with time zone DEFAULT NULL,
+    "failed_login" timestamp with time zone DEFAULT NULL,
+    "failed_login_counter" integer DEFAULT NULL,
     "language" varchar(5),
     "preferences" long DEFAULT NULL,
     CONSTRAINT "users_username_key" UNIQUE ("username", "mail_host")
@@ -218,4 +220,4 @@
     "value" long
 );
 
-INSERT INTO "system" ("name", "value") VALUES ('roundcube-version', '2015030800');
+INSERT INTO "system" ("name", "value") VALUES ('roundcube-version', '2015111100');

--
Gitblit v1.9.1