summaryrefslogtreecommitdiffstats
path: root/system/database/DB_forge.php
AgeCommit message (Collapse)AuthorFilesLines
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
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