Files
FreshRSS/app/Models
Alexandre Alapetite c76a318193 CLI to export/import any database to/from SQLite (#2496)
* CLI to export/import any database to/from SQLite

Require PHP 5.5+ https://github.com/FreshRSS/FreshRSS/pull/2495

* Travis

* Execution rights

* Fix wrong static fields

* Fix MySQL bad default buffering

https://stackoverflow.com/questions/6895098/pdo-mysql-memory-consumption-with-large-result-set/6935271#6935271
https://php.net/manual/ref.pdo-mysql

* Fix count on progression

* Avoid static DB information

To ease working with two DBs at the same time

* Less static, simplify

Needs some testing

* Small corrections

* Special case for SQLite to SQLite

* Modify special case for SQLite

* Remove special case for SQLite

More uniform logic for the 3 databases.
Fix wrong DROP TABLE for SQLite.

* Drop indexes

* Revert "Drop indexes"

This reverts commit f28d2bae09.

* Fix deletion

* Fix classic export

* Update cli/README.md

Co-Authored-By: Marien Fressinaud <dev@marienfressinaud.fr>

* Addressing part of review

* Remove goto 😢

* Travis

* Comment for SQLite case

* Fix missing fields when inserting
2019-09-15 21:36:53 +02:00
..
2019-08-20 14:55:43 +02:00
2019-03-09 15:43:44 +01:00
2018-09-29 20:47:17 +02:00
2018-09-29 20:47:17 +02:00
2019-03-23 22:52:47 +01:00
2019-03-23 22:52:47 +01:00
2019-03-23 22:52:47 +01:00
2014-10-05 18:51:08 +02:00
2018-11-11 17:31:50 +01:00
2015-03-05 13:29:41 +01:00
2017-11-04 21:19:51 +01:00
2017-08-20 11:10:22 +02:00
2016-10-01 09:24:46 +02:00
2016-09-29 23:36:25 +02:00
2018-09-29 20:47:17 +02:00
2018-09-29 20:47:17 +02:00
2018-09-29 20:47:17 +02:00
2018-09-29 20:47:17 +02:00
2018-09-29 20:47:17 +02:00