aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/DoctrineMigrations/Version20160410190541.php3
-rw-r--r--app/DoctrineMigrations/Version20160812120952.php3
-rw-r--r--app/DoctrineMigrations/Version20160911214952.php3
-rw-r--r--app/DoctrineMigrations/Version20160916201049.php3
-rw-r--r--app/DoctrineMigrations/Version20161001072726.php3
-rw-r--r--app/DoctrineMigrations/Version20161022134138.php3
-rw-r--r--app/DoctrineMigrations/Version20161024212538.php3
-rw-r--r--app/DoctrineMigrations/Version20161031132655.php3
-rw-r--r--app/DoctrineMigrations/Version20161104073720.php3
-rw-r--r--app/DoctrineMigrations/Version20161106113822.php3
-rw-r--r--app/DoctrineMigrations/Version20161117071626.php3
-rw-r--r--docs/de/user/upgrade.rst2
-rw-r--r--docs/en/user/upgrade.rst7
-rw-r--r--docs/fr/user/upgrade.rst2
14 files changed, 41 insertions, 3 deletions
diff --git a/app/DoctrineMigrations/Version20160410190541.php b/app/DoctrineMigrations/Version20160410190541.php
index f166a325..ebf4135f 100644
--- a/app/DoctrineMigrations/Version20160410190541.php
+++ b/app/DoctrineMigrations/Version20160410190541.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added foreign keys for account resetting
12 */
10class Version20160410190541 extends AbstractMigration implements ContainerAwareInterface 13class Version20160410190541 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20160812120952.php b/app/DoctrineMigrations/Version20160812120952.php
index 053b8d88..bd6e8d63 100644
--- a/app/DoctrineMigrations/Version20160812120952.php
+++ b/app/DoctrineMigrations/Version20160812120952.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added name field on wallabag_oauth2_clients
12 */
10class Version20160812120952 extends AbstractMigration implements ContainerAwareInterface 13class Version20160812120952 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20160911214952.php b/app/DoctrineMigrations/Version20160911214952.php
index 6ddeb767..edef81ed 100644
--- a/app/DoctrineMigrations/Version20160911214952.php
+++ b/app/DoctrineMigrations/Version20160911214952.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added settings for RabbitMQ and Redis imports
12 */
10class Version20160911214952 extends AbstractMigration implements ContainerAwareInterface 13class Version20160911214952 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20160916201049.php b/app/DoctrineMigrations/Version20160916201049.php
index 8b42bb87..9f8e77e7 100644
--- a/app/DoctrineMigrations/Version20160916201049.php
+++ b/app/DoctrineMigrations/Version20160916201049.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added pocket_consumer_key field on wallabag_config
12 */
10class Version20160916201049 extends AbstractMigration implements ContainerAwareInterface 13class Version20160916201049 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20161001072726.php b/app/DoctrineMigrations/Version20161001072726.php
index f6930778..b5d104cd 100644
--- a/app/DoctrineMigrations/Version20161001072726.php
+++ b/app/DoctrineMigrations/Version20161001072726.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added pocket_consumer_key field on wallabag_config
12 */
10class Version20161001072726 extends AbstractMigration implements ContainerAwareInterface 13class Version20161001072726 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20161022134138.php b/app/DoctrineMigrations/Version20161022134138.php
index d0e5cb3f..c71166a0 100644
--- a/app/DoctrineMigrations/Version20161022134138.php
+++ b/app/DoctrineMigrations/Version20161022134138.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Converted database to utf8mb4 encoding (for MySQL only)
12 */
10class Version20161022134138 extends AbstractMigration implements ContainerAwareInterface 13class Version20161022134138 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20161024212538.php b/app/DoctrineMigrations/Version20161024212538.php
index 75ff86f1..0c5a53da 100644
--- a/app/DoctrineMigrations/Version20161024212538.php
+++ b/app/DoctrineMigrations/Version20161024212538.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added user_id column on oauth2_clients to prevent users to delete API clients from other users
12 */
10class Version20161024212538 extends AbstractMigration implements ContainerAwareInterface 13class Version20161024212538 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20161031132655.php b/app/DoctrineMigrations/Version20161031132655.php
index f81898ff..83b97ca9 100644
--- a/app/DoctrineMigrations/Version20161031132655.php
+++ b/app/DoctrineMigrations/Version20161031132655.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added the internal setting to enable/disable downloading pictures
12 */
10class Version20161031132655 extends AbstractMigration implements ContainerAwareInterface 13class Version20161031132655 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20161104073720.php b/app/DoctrineMigrations/Version20161104073720.php
index 4721426a..fb8f5fa1 100644
--- a/app/DoctrineMigrations/Version20161104073720.php
+++ b/app/DoctrineMigrations/Version20161104073720.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added created_at index on entry table
12 */
10class Version20161104073720 extends AbstractMigration implements ContainerAwareInterface 13class Version20161104073720 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20161106113822.php b/app/DoctrineMigrations/Version20161106113822.php
index 55bd87a2..faa2d9fd 100644
--- a/app/DoctrineMigrations/Version20161106113822.php
+++ b/app/DoctrineMigrations/Version20161106113822.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added action_mark_as_read field on config table
12 */
10class Version20161106113822 extends AbstractMigration implements ContainerAwareInterface 13class Version20161106113822 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/app/DoctrineMigrations/Version20161117071626.php b/app/DoctrineMigrations/Version20161117071626.php
index d864888f..8daa2142 100644
--- a/app/DoctrineMigrations/Version20161117071626.php
+++ b/app/DoctrineMigrations/Version20161117071626.php
@@ -7,6 +7,9 @@ use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface; 7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface; 8use Symfony\Component\DependencyInjection\ContainerInterface;
9 9
10/**
11 * Added the internal setting to share articles to unmark.it
12 */
10class Version20161117071626 extends AbstractMigration implements ContainerAwareInterface 13class Version20161117071626 extends AbstractMigration implements ContainerAwareInterface
11{ 14{
12 /** 15 /**
diff --git a/docs/de/user/upgrade.rst b/docs/de/user/upgrade.rst
index c2256347..6557e2a5 100644
--- a/docs/de/user/upgrade.rst
+++ b/docs/de/user/upgrade.rst
@@ -23,7 +23,7 @@ Erklärungen über die Datenbankmigration
23Während des Updates migrieren wir die Datenbank. 23Während des Updates migrieren wir die Datenbank.
24 24
25Alle Datenbankmigrationen sind im Verzeichnis ``app/DoctrineMigrations`` gespeichert. Jede von ihnen kann einzeln ausgeführt werden: 25Alle Datenbankmigrationen sind im Verzeichnis ``app/DoctrineMigrations`` gespeichert. Jede von ihnen kann einzeln ausgeführt werden:
26``bin/console doctrine:migrations:migrate 20161001072726 --env=prod``. 26``bin/console doctrine:migrations:execute 20161001072726 --env=prod``.
27 27
28Dies ist die Migrationsliste von 2.1.x auf 2.2.0: 28Dies ist die Migrationsliste von 2.1.x auf 2.2.0:
29 29
diff --git a/docs/en/user/upgrade.rst b/docs/en/user/upgrade.rst
index 4def03cb..ff8b85ee 100644
--- a/docs/en/user/upgrade.rst
+++ b/docs/en/user/upgrade.rst
@@ -23,7 +23,9 @@ Explanations about database migrations
23During the update, we execute database migrations. 23During the update, we execute database migrations.
24 24
25All the database migrations are stored in ``app/DoctrineMigrations``. You can execute each migration individually: 25All the database migrations are stored in ``app/DoctrineMigrations``. You can execute each migration individually:
26``bin/console doctrine:migrations:migrate 20161001072726 --env=prod``. 26``bin/console doctrine:migrations:execute 20161001072726 --env=prod``.
27
28You can also cancel each migration individually: ``bin/console doctrine:migrations:execute 20161001072726 --down --env=prod``.
27 29
28Here is the migrations list for 2.1.x to 2.2.0 release: 30Here is the migrations list for 2.1.x to 2.2.0 release:
29 31
@@ -37,6 +39,9 @@ Here is the migrations list for 2.1.x to 2.2.0 release:
37* ``20161118134328``: added ``http_status`` field on ``entry`` table 39* ``20161118134328``: added ``http_status`` field on ``entry`` table
38* ``20161122144743``: added the internal setting to enable/disable fetching articles with paywall 40* ``20161122144743``: added the internal setting to enable/disable fetching articles with paywall
39* ``20161122203647``: dropped ``expired`` and ``credentials_expired`` fields on ``user`` table 41* ``20161122203647``: dropped ``expired`` and ``credentials_expired`` fields on ``user`` table
42* ``20161128084725``: added ``list_mode`` field on ``config`` table
43* ``20161128131503``: dropped ``locked``, ``credentials_expire_at`` and ``expires_at`` fields on ``user`` table
44* ``20161214094403``: added ``uid`` index on ``entry`` table
40 45
41Upgrade on a shared hosting 46Upgrade on a shared hosting
42^^^^^^^^^^^^^^^^^^^^^^^^^^^ 47^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/docs/fr/user/upgrade.rst b/docs/fr/user/upgrade.rst
index 1a824854..16c103ee 100644
--- a/docs/fr/user/upgrade.rst
+++ b/docs/fr/user/upgrade.rst
@@ -23,7 +23,7 @@ Explications à propos des migrations de base de données
23Durant la mise à jour, nous exécutons des migrations de base de données. 23Durant la mise à jour, nous exécutons des migrations de base de données.
24 24
25Toutes les migrations de base de données sont stockées dans le dossier ``app/DoctrineMigrations``. Vous pouvez exécuter chaque migration individuellement : 25Toutes les migrations de base de données sont stockées dans le dossier ``app/DoctrineMigrations``. Vous pouvez exécuter chaque migration individuellement :
26``bin/console doctrine:migrations:migrate 20161001072726 --env=prod``. 26``bin/console doctrine:migrations:execute 20161001072726 --env=prod``.
27 27
28Voici la liste des migrations de la 2.1.x à la 2.2.0 : 28Voici la liste des migrations de la 2.1.x à la 2.2.0 :
29 29