aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-23 09:49:22 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-25 10:51:25 +0100
commit89cd670abfc77ca268a538c9323a4026fec06fc7 (patch)
treeb0b4d38a67cc86186da3dae413530e9faa693f7c /src
parent8137515171a9b3c8e7c3720958acfdccb96803f7 (diff)
downloadwallabag-89cd670abfc77ca268a538c9323a4026fec06fc7.tar.gz
wallabag-89cd670abfc77ca268a538c9323a4026fec06fc7.tar.zst
wallabag-89cd670abfc77ca268a538c9323a4026fec06fc7.zip
Changed uuid type in database
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/EntryController.php3
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php
index 83148671..b03f49ed 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -355,9 +355,6 @@ class EntryController extends Controller
355 { 355 {
356 $this->checkUserAction($entry); 356 $this->checkUserAction($entry);
357 357
358 $version = $this->getDoctrine()->getManager()->getConnection()->query('SELECT version();')->fetchColumn();
359 var_dump($version);
360
361 return $this->render( 358 return $this->render(
362 'WallabagCoreBundle:Entry:entry.html.twig', 359 'WallabagCoreBundle:Entry:entry.html.twig',
363 ['entry' => $entry] 360 ['entry' => $entry]
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 4c22cf9c..4c9d518f 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -47,7 +47,7 @@ class Entry
47 /** 47 /**
48 * @var string 48 * @var string
49 * 49 *
50 * @ORM\Column(name="uuid", type="guid", nullable=true) 50 * @ORM\Column(name="uuid", type="string", length=23, nullable=true)
51 * 51 *
52 * @Groups({"entries_for_user", "export_all"}) 52 * @Groups({"entries_for_user", "export_all"})
53 */ 53 */