- redis
# faster builds on docker-container setup
-sudo: false
+sudo: required
# used for HHVM
addons:
apt:
packages:
- tidy
+ postgresql: 9.5
# cache vendor dirs
cache:
- if [[ ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi
- composer self-update --no-progress
- if [[ $DB = pgsql ]]; then psql -c 'create database wallabag_test;' -U postgres; fi;
+ - if [[ $DB = pgsql ]]; then psql -U postgres wallabag_test -c 'create extension "uuid-ossp";'; fi;
install:
- if [[ $ASSETS = build ]]; then source ~/.nvm/nvm.sh && nvm install 6.7; fi;
* @ORM\Table(
* name="`entry`",
* options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"},
- * indexes={@ORM\Index(name="created_at", columns={"created_at"})},
- * indexes={@ORM\Index(name="uuid", columns={"uuid"})}
+ * indexes={
+ * @ORM\Index(name="created_at", columns={"created_at"}),
+ * @ORM\Index(name="uuid", columns={"uuid"})
+ * }
* )
* @ORM\HasLifecycleCallbacks()
* @Hateoas\Relation("self", href = "expr('/api/entries/' ~ object.getId())")
/**
* @var string
*
- * @ORM\Column(name="uuid", type="text", nullable=true)
+ * @ORM\Column(name="uuid", type="guid", nullable=true)
*
* @Groups({"entries_for_user", "export_all"})
*/