summaryrefslogtreecommitdiffstats
path: root/system/database/DB_forge.php
AgeCommit message (Collapse)AuthorFilesLines
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
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-31Added method chaining to DBForge.Phil Sturgeon1-28/+21
2011-12-05changed create_table method to check whether a value returned from driver's ↵Tomasz T1-0/+6
forge is sql or bool (acts exactly as create_database)
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-5/+17
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-10-10Converted database constructors to PHP5 typeTimothy Warren1-1/+1
2011-07-16Fixed missing table prefixes in Database Forge Class rename_table() methodZac Wasielewski1-1/+1
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-1/+1
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-1/+1
2011-02-14Whitespace cleanup in db classesPascal Kriete1-1/+1
2011-01-27Automated merge with https://bitbucket.org/ellislab/codeigniterPhil Sturgeon1-0/+6
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-12-15Name can be omiitted from ->dbforge->modify_column()'s 2nd param if you ↵Phil Sturgeon1-0/+6
aren't changing the name.
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-36/+36
2010-03-03whitespaceDerek Jones1-2/+3
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2009-03-04Altered modify_column and add_column to loop through multiple fields rather ↵Robin Sowell1-18/+38
than returning after first field.
2008-11-13Changing EOL style to LFDerek Allard1-354/+354
2008-10-17Fixed a number of bug reports related to table/db names not being escaped or ↵Rick Ellis1-5/+4
prefixed correctly.
2008-10-07There was a call to $this->input->_remove_invisible_characters($str); It ↵Rick Ellis1-1/+1
should have been: $this->input->CI->_remove_invisible_characters($str);
2008-09-30Did a little clean up. Nothing that affected functionalityRick Ellis1-0/+10
2008-09-13updated copyrightRick Ellis1-1/+1
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-3/+3
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace