Joas Schilling
37ae99c75d
[ticket/10748] Replace direct creations of tools();
...
PHPBB3-10748
2015-02-07 14:41:39 +01:00
Joas Schilling
fc91616fad
Merge branch 'develop-ascraeus' into develop
2015-01-23 17:32:57 +01:00
Marc Alexander
eb4594d8ee
[ticket/13282] Add unit test for adding integer column with default null
...
PHPBB3-13282
2015-01-22 23:17:59 +01:00
Joas Schilling
ec90f2b380
[ticket/13421] Move tools to subdirectory
...
PHPBB3-13421
2014-12-06 17:10:07 +01:00
Joas Schilling
d78bb2865b
[ticket/13421] Always require the interface when possible
...
PHPBB3-13421
2014-12-06 16:17:04 +01:00
Joas Schilling
4e4ea681be
[ticket/12710] Fix "ORA-00972: identifier is too long [972]" on oracle
...
PHPBB3-12710
2014-08-09 08:33:15 +02:00
Joas Schilling
95ab4b3e93
[ticket/12448] Allow null as default value for columns
...
PHPBB3-12448
2014-06-25 13:40:32 +02:00
Patrick Webster
754e36e378
[ticket/12643] Properly handle changing columns on tables with constraints
...
PHPBB3-12643
2014-06-15 19:07:32 -05:00
Patrick Webster
e6a8df7f7e
[ticket/12643] Tests dropping similarly named columns
...
PHPBB3-12643
2014-06-15 14:18:39 -05:00
Yuriy Rusko
a759704b39
[ticket/12594] Remove @package tags and update file headers
...
PHPBB3-12594
2014-05-27 20:51:13 +02:00
Joas Schilling
5403848902
[ticket/12012] Add a unit test for removing a column with indexes
...
PHPBB3-12012
2014-04-17 11:35:03 +02:00
Joas Schilling
a48f1abf66
[ticket/12012] Add a unit test for changing the column type
...
PHPBB3-12012
2014-04-17 11:29:45 +02:00
Nils Adermann
b95fdacdd3
[ticket/11700] Move all recent code to namespaces
...
PHPBB3-11700
2013-09-16 00:25:27 +02:00
Joas Schilling
057d860d07
[ticket/11696] Rename db_tools.php so it can be autoloaded
...
PHPBB3-11696
2013-07-14 10:10:05 -04:00
Andreas Fischer
bad91d8e74
[ticket/10907] Mark (var)binary tests as incomplete on non-MySQL DBMSes.
...
PHPBB3-10907
2012-05-22 18:46:29 +02:00
Andreas Fischer
e5afe39987
[ticket/10889] Make default value for c_char_size a CHAR(4) as defined.
...
PHPBB3-10889
2012-05-11 11:22:49 +02:00
Oleg Pudeyev
1019226dfa
[ticket/10887] Split auto increment test from db tools test.
...
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
2012-05-10 23:50:42 -04:00
Andreas Fischer
41ef41ac63
[ticket/10774] Add unit tests for UNIQUE index existence and creation.
...
PHPBB3-10774
2012-04-10 00:46:24 +02:00
Unknown
17991823ea
[ticket/9916] Updating License in the header
...
PHPBB3-9916
2012-01-02 16:18:32 +00:00
Igor Wiedler
cafefe9379
Merge remote-tracking branch 'bantu/ticket/10327' into develop-olympus
...
* 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.
2011-10-14 17:50:08 +02:00
Andreas Fischer
607761e830
[ticket/10327] Use $this->tools instead of creating a new instance of db_tools.
...
PHPBB3-10327
2011-10-14 17:23:29 +02:00
Andreas Fischer
4effe8fb8b
[ticket/8240] Add ability to get a list of columns of a tables to db_tools.
...
PHPBB3-8240
2011-10-14 16:35:14 +02:00
Andreas Fischer
234edf674c
[ticket/8240] Add ability to get a list of tables to db_tools.
...
PHPBB3-8240
2011-10-14 16:35:07 +02:00
Andreas Fischer
d86fccf9c9
[ticket/10327] Change CREATE INDEX to ALTER TABLE table ADD INDEX for MySQL.
...
* 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
2011-10-14 14:30:51 +02:00
Nils Adermann
0f2e45800e
[ticket/10346] Add drop_tables to perform_schema_changes and add tests
...
PHPBB3-10346
2011-08-29 14:24:50 -04:00
Nils Adermann
96eab49a7a
[ticket/10247] Add a db_tools test for the removal of a primary key column.
...
The previous drop column test already deleted the primary key, so that one was
replaced with an ordinary column.
PHPBB3-10247
2011-07-03 18:09:56 -04:00
Nils Adermann
4e0717b4d7
[ticket/9892] Correct copyright year
...
PHPBB3-9892
2011-06-12 12:26:49 +02:00
Nils Adermann
11750bdccc
[ticket/9892] Remove incorrect use of camel case
...
PHPBB3-9892
2011-06-12 12:24:57 +02:00
Nils Adermann
025649e14c
[ticket/9892] Adding a number of tests for db_tools
...
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
2011-06-12 10:34:43 +02:00