aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/db_tools_test.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14948] Adjust calls for twig and phpunit updatesMarc Alexander2019-05-091-2/+2
| | | | PHPBB3-14948
* [ticket/14972] Migrate from deprecated getMock() method to createMock()rxu2019-05-081-8/+8
| | | | PHPBB3-14972
* [ticket/15055] Properly support index length check on mssqlMarc Alexander2018-01-011-7/+17
| | | | PHPBB3-15055
* [ticket/15055] Support console questions on windowsMarc Alexander2018-01-011-4/+0
| | | | PHPBB3-15055
* [ticket/15055] Only drop dependent PK indexes and fix more tests for mssqlMarc Alexander2018-01-011-1/+4
| | | | PHPBB3-15055
* [ticket/15055] Drop primary keys when necessary and fix test comparisonsMarc Alexander2018-01-011-1/+8
| | | | PHPBB3-15055
* [ticket/15259] Fatal error on SQLite/Oracle database updatelavigor2017-07-061-0/+37
| | | | | | Add a test. PHPBB3-15259
* [ticket/14576] Move common required files to bootstrapMatt Friedman2016-03-311-2/+0
| | | | PHPBB3-14576
* [ticket/10748] Replace direct creations of tools();Joas Schilling2015-02-071-1/+2
| | | | PHPBB3-10748
* Merge branch 'develop-ascraeus' into developJoas Schilling2015-01-231-0/+7
|\
| * [ticket/13282] Add unit test for adding integer column with default nullMarc Alexander2015-01-221-0/+7
| | | | | | | | PHPBB3-13282
* | [ticket/13421] Move tools to subdirectoryJoas Schilling2014-12-061-4/+4
| | | | | | | | PHPBB3-13421
* | [ticket/13421] Always require the interface when possibleJoas Schilling2014-12-061-1/+1
|/ | | | PHPBB3-13421
* [ticket/12710] Fix "ORA-00972: identifier is too long [972]" on oracleJoas Schilling2014-08-091-6/+6
| | | | PHPBB3-12710
* [ticket/12448] Allow null as default value for columnsJoas Schilling2014-06-251-0/+3
| | | | PHPBB3-12448
* [ticket/12643] Properly handle changing columns on tables with constraintsPatrick Webster2014-06-151-0/+18
| | | | PHPBB3-12643
* [ticket/12643] Tests dropping similarly named columnsPatrick Webster2014-06-151-0/+11
| | | | PHPBB3-12643
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | PHPBB3-12594
* [ticket/12012] Add a unit test for removing a column with indexesJoas Schilling2014-04-171-0/+22
| | | | PHPBB3-12012
* [ticket/12012] Add a unit test for changing the column typeJoas Schilling2014-04-171-2/+30
| | | | PHPBB3-12012
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-3/+3
| | | | PHPBB3-11700
* [ticket/11696] Rename db_tools.php so it can be autoloadedJoas Schilling2013-07-141-1/+0
| | | | PHPBB3-11696
* [ticket/10907] Mark (var)binary tests as incomplete on non-MySQL DBMSes.Andreas Fischer2012-05-221-0/+5
| | | | PHPBB3-10907
* [ticket/10889] Make default value for c_char_size a CHAR(4) as defined.Andreas Fischer2012-05-111-1/+1
| | | | PHPBB3-10889
* [ticket/10887] Split auto increment test from db tools test.Oleg Pudeyev2012-05-101-45/+0
| | | | | | | | | | | Auto increment test does not need any particular columns and should not depend, in particular, on correct handling of binary data. This commit moves auto increment test into its own file and gives it its own table with a simple schema. PHPBB3-10887
* [ticket/10774] Add unit tests for UNIQUE index existence and creation.Andreas Fischer2012-04-101-0/+11
| | | | PHPBB3-10774
* [ticket/9916] Updating License in the headerUnknown2012-01-021-1/+1
| | | | PHPBB3-9916
* Merge remote-tracking branch 'bantu/ticket/10327' into develop-olympusIgor Wiedler2011-10-141-10/+3
|\ | | | | | | | | | | * bantu/ticket/10327: [ticket/10327] Use $this->tools instead of creating a new instance of db_tools. [ticket/10327] Also change CREATE UNIQUE INDEX to use ALTER TABLE.
| * [ticket/10327] Use $this->tools instead of creating a new instance of db_tools.Andreas Fischer2011-10-141-10/+3
| | | | | | | | PHPBB3-10327
* | [ticket/8240] Add ability to get a list of columns of a tables to db_tools.Andreas Fischer2011-10-141-0/+8
| | | | | | | | PHPBB3-8240
* | [ticket/8240] Add ability to get a list of tables to db_tools.Andreas Fischer2011-10-141-0/+7
|/ | | | PHPBB3-8240
* [ticket/10327] Change CREATE INDEX to ALTER TABLE table ADD INDEX for MySQL.Andreas Fischer2011-10-141-0/+18
| | | | | | | | | | | | | | * CREATE INDEX is internally mapped to an ALTER INDEX statement. * CREATE INDEX requires the INDEX permission. * ALTER TABLE requires the (more powerful) ALTER permission. * We require the ALTER permission anyway for operation. * Changing CREATE INDEX to ALTER TABLE thus removes dependency on the INDEX permission which is good because some management software does not give out the INDEX permission by default. http://dev.mysql.com/doc/refman/5.0/en/create-index.html PHPBB3-10327
* [ticket/10346] Add drop_tables to perform_schema_changes and add testsNils Adermann2011-08-291-0/+60
| | | | PHPBB3-10346
* [ticket/10247] Add a db_tools test for the removal of a primary key column.Nils Adermann2011-07-031-1/+9
| | | | | | | The previous drop column test already deleted the primary key, so that one was replaced with an ordinary column. PHPBB3-10247
* [ticket/9892] Correct copyright yearNils Adermann2011-06-121-1/+1
| | | | PHPBB3-9892
* [ticket/9892] Remove incorrect use of camel caseNils Adermann2011-06-121-2/+2
| | | | PHPBB3-9892
* [ticket/9892] Adding a number of tests for db_toolsNils Adermann2011-06-121-0/+268
The test creates a table and runs a number of queries on it to judge whether the selected column types can hold the data they are expected to contain. Additional test methods check the auto increment feature and a few of the basic commands of db_tools. This is only a starting point. Plenty more tests need to be added. PHPBB3-9892