summaryrefslogtreecommitdiffstats
path: root/system/database/DB_forge.php
AgeCommit message (Collapse)AuthorFilesLines
2015-07-02Close #3941Andrey Andreev1-6/+1
2015-01-29fix typo in commentsClaudio Galdiolo1-1/+1
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-12-04DB forge/utilities polishing (docs) following #3375, #3378Andrey Andreev1-50/+9
2014-11-03Move MySQL comments to MySQL forge classes onlyZachary Flower1-33/+6
2014-11-03Move comment field after unique field in db forgeZachary Flower1-3/+3
2014-11-03Ensure forge comments are actually getting parsedZachary Flower1-0/+2
Signed-off-by: Zachary Flower <zach@ninjaninja.net>
2014-11-03Add support for the COMMENT field in DBForge and MySQL Forge classes (pdo, ↵Zachary Flower1-0/+30
mysql, and mysqli) Signed-off-by: Zachary Flower <zach@ninjaninja.net>
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-08-15Fix #3187Andrey Andreev1-1/+1
2014-03-31[ci skip] Fix #2972Andrey Andreev1-1/+1
2014-03-17Fix DB forge unsigned attribute (PR #2949)Andrey Andreev1-15/+13
2014-03-10Fix #2928, #2929Andrey Andreev1-0/+1
2014-03-10Fix #2928Andrey Andreev1-2/+5
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-01-20Add support for optional table attributes to CI_DB_forge::create_table()Andrey Andreev1-5/+31
Supersedes PRs #989, #2776 Related issue: #41
2013-12-18Use table name as a prefix for index namesmjnaderi1-3/+2
2013-12-18Cleanup DB_forge _process_indexesmjnaderi1-1/+2
2013-12-18Cleanup DB_forge _process_indexesmjnaderi1-1/+0
2013-10-28Really fix #2703Andrey Andreev1-1/+1
2013-10-28Fix #2703Andrey Andreev1-1/+17
2013-03-15Fix MSSQL ALTER TABLE ADD statementAndrey Andreev1-1/+5
An improved version of PR #2329
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-17[ci skip] Fix some spacesAndrey Andreev1-1/+1
2012-12-17update for Issue #2064 (changed docblocks which return $this or only call a ↵Andrew Podner1-2/+2
method that returns $this to @return CI_DB_class_name)
2012-11-25Fix #2027Andrey Andreev1-3/+14
2012-11-22Fix modify_column() issues (#2020)Andrey Andreev1-1/+1
2012-11-19DB forge to use single quotes for ENUM/SET string delimitersAndrey Andreev1-1/+1
2012-11-19PDO was not escaping strings for SET as arrayPhil Sturgeon1-1/+1
2012-11-12Bring back the AFTER clause for DB Forge add_column()Andrey Andreev1-1/+9
(it was temporarily removed due to multiple inconsistencies with other drivers) This commit also fixes issue #1988. Also added support for the FIRST clause (again, MySQL and CUBRID only).
2012-11-06Fix a lang key typoAndrey Andreev1-8/+8
2012-11-06Added possibility to pass custom database objects to DB Forge and DB UtilitiesAndrey Andreev1-5/+4
Also, their property is no longer public and the utility class no longer extends CI_DB_forge.
2012-11-05Re-fix multiple-column non-primary key indexesAndrey Andreev1-1/+1
2012-11-05Fix Forge add_column() and modify_column()Andrey Andreev1-2/+2
2012-11-05Refactored DB ForgeAndrey Andreev1-63/+568
- PDO subdrivers are isolated from each other now. - Added compatibility for pretty much all of the features, for every DB platform. - Unified the way that stuff works in general. - Fixes issue #1005.
2012-11-05Merge pull request #1948 from GDmac/developAlex Bilbie1-1/+1
Fix #1946 dbforge add_key
2012-11-02DocBlocks for base DB classesAndrey Andreev1-1/+50
Partially fixes issue #1295.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-31Fix #1946 dbforge add_keyGDmac1-1/+1
add_key not setting multiple-column keys when given array Signed-off-by: GDmac <grdalenoort@gmail.com>
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-5/+10
2012-06-15Somebody double `$$`ed, causing error Phil Sturgeon1-1/+1
Severity: 4096 Message: Object of class CI_DB_mysql_forge could not be converted to string Filename: database/DB_forge.php Line Number: 234
2012-06-11Fix issue #1264Andrey Andreev1-3/+51
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/databaseAlex Bilbie1-11/+11
2012-04-09Multiple DB Forge improvementsAndrey Andreev1-10/+51
- Replaced driver methods _create_database(), _drop_database(), _drop_table() and _rename_table() with properties - Added defaults for the above mentioned platform-specific queries, so that not all drivers need to define them - Improved support for the SQLite, ODBC and PDO drivers
2012-03-20Remove extraneous newlinesTimothy Warren1-1/+1
2012-03-19Made the rest of the db classes abstract \nTimothy Warren1-1/+1
except for the DB_cache class, because I'm not sure if it is directly called
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-01-08Improve database classesAndrey Andreev1-69/+25