aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations
Commit message (Collapse)AuthorAgeFilesLines
* Add SQLite & PG migrationJeremy Benoist2019-01-231-5/+41
| | | | | Also remove the forced `server_version` from dbal config to avoid an hard overriding across all database.
* Add backup codesJeremy Benoist2019-01-231-2/+20
|
* Enable OTP 2FAJeremy Benoist2019-01-231-0/+22
| | | | | | | | | - Update SchebTwoFactorBundle to version 3 - Enable Google 2fa on the bundle - Disallow ability to use both email and google as 2fa - Update Ocramius Proxy Manager to handle typed function & attributes (from PHP 7) - use `$this->addFlash` shortcut instead of `$this->get('session')->getFlashBag()->add` - update admin to be able to create/reset the 2fa
* Enable PHPStanJeremy Benoist2019-01-181-0/+32
| | | | | - Fix error for level 0 & 1 (level 7 has 699 errors...) - Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
* Fix utf8mb4 on vendor tablesJeremy Benoist2018-11-282-19/+47
| | | | | | | | | | | | | | When creating the schema for test these tables use default length for string: 255. Which fail when using utf8mb4. > Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes Also move the `setKeepStaticConnections` in before and after class to avoid: > SAVEPOINT DOCTRINE2_SAVEPOINT_2 does not exist See https://github.com/dmaicher/doctrine-test-bundle#troubleshooting
* Entry: add archived_at property and updateArchived methodSébastien Viande2018-09-211-0/+68
|
* php-cs-fixerKevin Decherf2018-09-051-1/+1
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* We should able to get the table name unescapedJeremy Benoist2018-06-141-4/+4
| | | | When we want to perform complex queries to retrieve metadata from the database
* Fixed migrations with dash into db nameJeremy Benoist2018-06-1436-705/+93
|
* Merge pull request #3504 from aaa2000/fix-initial-migration-with-table-prefixJérémy Benoist2017-12-161-125/+125
|\ | | | | Fix initial migration when using custom table prefix
| * Use getTable() to retrieve prefixed table nameJeremy Benoist2017-12-161-126/+122
| |
| * Fix initial migration when using custom table prefixadev2017-12-141-125/+129
| | | | | | | | Fix #3503
* | Fixed lower case tags migrationNicolas Lœuillet2017-12-151-1/+1
|/
* CSJeremy Benoist2017-12-121-1/+0
|
* Use hasTable instead of try/catchJeremy Benoist2017-12-121-7/+1
|
* Change the way to check for initial migrationJeremy Benoist2017-12-121-4/+25
|
* migrations: fix duplicate violation during lowercase tag migrationKevin Decherf2017-12-101-8/+20
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Replace raw query with named parameterKevin Decherf2017-12-101-2/+3
| | | | | | Fix possible issue with special chars on #3139 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add craue setting to enable sharing of origin url to ShaarliKevin Decherf2017-11-251-0/+52
| | | | | | | Also fix the field name used in the query string and add it to baggy theme Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fix phpcsadev2017-11-211-5/+4
|
* Implements down migrationadev2017-11-211-1/+12
|
* Fix installation commandadev2017-11-212-3/+32
|
* Add an initial migrationadev2017-11-211-0/+181
|
* Merge pull request #3425 from wallabag/add-setting-for-headersNicolas Lœuillet2017-11-211-0/+52
|\ | | | | Added internal setting to enable/disable headers storage
| * Added internal setting to enable/disable headers storageNicolas Lœuillet2017-11-201-0/+52
| |
* | Fix MySQL issue on mig from #3373Kevin Decherf2017-11-201-0/+1
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Fix phpcsKevin Decherf2017-11-191-1/+1
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Add originUrl property to Entry, handle that in EntryRestController, handle ↵Kevin Decherf2017-11-191-0/+55
|/ | | | | | migration Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fixed @Kdecherf's reviewNicolas Lœuillet2017-10-131-0/+1
|
* CSJeremy Benoist2017-10-131-3/+3
|
* Changed reading_time field to prevent null valuesNicolas Lœuillet2017-10-131-0/+63
|
* CSJeremy Benoist2017-10-095-7/+7
|
* Merge pull request #3139 from Kdecherf/2502-tag-caseJérémy Benoist2017-09-031-0/+103
|\ | | | | Ignore tag's case
| * php-cs-fixer on DoctrineMigrations/Version20170719231144Kevin Decherf2017-08-271-24/+24
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * Add migration to change case of tagsKevin Decherf2017-08-271-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migration does not support SQLite as long as this engine does not support Unicode in LOWER(). This migration starts by retrieving the list of lowercase tags which need to be migrated. Then it retrieves the list of tags for each tags from the previous step in order to migrate entries. It handles deletion of empty tags. At the end the migration makes a full scan to update the label of all remaining tags. WARNING: THIS MIGRATION IS IRREVERSIBLE. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Set a starred_at field when an entry is starred.François D2017-08-251-0/+63
|/ | | | | | | | This date is used to sort starred entries. Can not use Entry::timestamps method otherwise starred_at will be updated each time entry is updated. Add an updateStar method into Entry class A migration script has been added in order to set starred_at field.
* Add a real configuration for CS-FixerJeremy Benoist2017-07-0129-246/+240
|
* Fix reviewsThomas Citharel2017-06-201-1/+1
| | | | | | | | Encrypt username too Redirect to list after saving credentials Fix typos Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Crypt site credential passwordJeremy Benoist2017-06-201-1/+1
|
* Force sequence creation for postgresqlJeremy Benoist2017-06-201-1/+6
|
* Add CRUD for site credentialsJeremy Benoist2017-06-201-0/+56
|
* Merge pull request #3173 from wallabag/domain-name-paramJérémy Benoist2017-06-101-0/+53
|\ | | | | remove craueconfig domain name setting and add a proper one in parame…
| * ReviewJeremy Benoist2017-06-081-1/+2
| |
| * add migrationThomas Citharel2017-06-061-0/+52
| |
* | Merge pull request #3093 from aaa2000/annotation-error-on-saveNicolas Lœuillet2017-06-071-0/+100
|\ \ | |/ |/| Displays an error with an annotation with a too long quote
| * Fix postgresql migrationadev2017-06-071-2/+2
| |
| * Displays an error with an annotation with a too long quoteadev2017-06-041-0/+100
| | | | | | | | Fix #2762
* | API user creation behing a toggleJeremy Benoist2017-06-021-0/+52
|/ | | | | | | | I've added a toggle feature (in internal settings) so that user api creation can be disabled while form registration still can be enabled. Also, the /api/user endpoint shouldn't require authentication. Even if we check the authentication when sending a GET request, to retrieve current user information. I've moved all the internal settings definition to config to avoid duplicated place to define them. I don't know why we didn't did that earlier.
* Added headers field in EntryNicolas Lœuillet2017-05-111-0/+55
|
* Added migration to change length for user fieldsNicolas Lœuillet2017-05-101-0/+60
|