]> git.mxchange.org Git - friendica.git/commit
DBStructure enhancements (#5437)
authorPhilipp <admin+Github@philipp.info>
Sat, 21 Jul 2018 12:43:43 +0000 (14:43 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Sat, 21 Jul 2018 12:43:43 +0000 (08:43 -0400)
commitc5cbf565d9fc7129a4a213b6c4ccf07c72767c90
treef1f4f096d29eda823eee27cc07244c7f13f3e065
parent303aef34f0804f9becc10610ae85985835f9d9bf
DBStructure enhancements (#5437)

* Adding DBStructure enhancements

- Added DBStructure::rename()
- Added DBStructure::existTable()
- Added DBStructure::existColumn()

(cherry picked from commit 4ae06ec)

* Adding `pre_update_1279` method

- Added DBStructure::rename()
- Added DBStructure::existTable()
- Added DBStructure::existColumn()

(cherry picked from commit 8496d84)

* code standards

(cherry picked from commit 551d09b)

* simplify to `empty` instead `is_null`

(cherry picked from commit ce68835)
src/Database/DBA.php
src/Database/DBStructure.php
tests/src/Core/Lock/LockTest.php
tests/src/Database/DBATest.php [new file with mode: 0644]
tests/src/Database/DBStructureTest.php [new file with mode: 0644]