From: Matt S Trout Date: Wed, 17 May 2006 00:22:33 +0000 (+0000) Subject: Merge 'DBIx-Class-current' into 'datetime' X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4f0bd3e78e96cf74378f791bb290b329abc48098;p=dbsrgits%2FDBIx-Class-Historic.git Merge 'DBIx-Class-current' into 'datetime' r10262@obrien (orig r1521): bluefeet | 2006-04-27 02:36:52 +0100 New dbicadmin script for bringing dbic objects to the unix command line. r10332@obrien (orig r1529): bluefeet | 2006-04-29 02:31:20 +0100 Initial JSON support for the dbicadmin script. r10333@obrien (orig r1530): bluefeet | 2006-04-29 03:22:45 +0100 Fixes to dbicadmin as well as the ability to support SELECTs. r10334@obrien (orig r1531): bluefeet | 2006-04-29 03:44:47 +0100 Newlines after each csv lines. Add trace option. r10335@obrien (orig r1532): bluefeet | 2006-04-29 04:25:15 +0100 Docced JSON usage and added support for the attrs option. r10343@obrien (orig r1540): castaway | 2006-04-29 18:47:24 +0100 add create_ddl_dir for creating versioned sql statements from schema, and make DBICTest use it r10344@obrien (orig r1541): castaway | 2006-04-29 19:06:51 +0100 Document create_ddl_dir method r10345@obrien (orig r1542): castaway | 2006-04-29 20:38:43 +0100 Default to using sqlt on deploy, if available r10350@obrien (orig r1543): bluefeet | 2006-04-30 14:52:04 +0100 Fix some errors with using unique constraints with Ordered. r10351@obrien (orig r1544): bluefeet | 2006-04-30 15:41:53 +0100 No longer support unique constraints in Ordered. r10367@obrien (orig r1545): bluefeet | 2006-04-30 16:37:09 +0100 Tests for dbicadmin. r10369@obrien (orig r1546): bluefeet | 2006-04-30 16:37:41 +0100 Moved scripts to scrupt per what other CPAN modules do. r10370@obrien (orig r1547): bluefeet | 2006-04-30 16:38:19 +0100 Call scripts/ script/ in the dbicadmin tests. r10371@obrien (orig r1548): dwc | 2006-04-30 18:27:50 +0100 bluefeet disabled the unique constraint in [1544] r10372@obrien (orig r1549): dwc | 2006-04-30 18:38:26 +0100 Fix evals for skipping test r10387@obrien (orig r1564): matthewt | 2006-05-03 15:19:00 +0100 r1642@thor (orig r1505): matthewt | 2006-04-22 16:29:28 +0000 cycle tests and a weaken call r1657@thor (orig r1520): bluefeet | 2006-04-26 22:15:41 +0000 Document the exitance of the DBIx::Class::ResultSource::schema() accessor. r1660@thor (orig r1523): matthewt | 2006-04-27 20:43:45 +0000 pod patch from ted r1698@thor (orig r1561): dwc | 2006-05-01 19:29:37 +0000 Add example of multi-column foreign keys r1699@thor (orig r1562): dwc | 2006-05-01 19:31:19 +0000 Add missing comma in example ;) r10388@obrien (orig r1565): semifor | 2006-05-03 21:41:54 +0100 Automatic primary key class for DB2/400 over ODBC r10389@obrien (orig r1566): semifor | 2006-05-03 22:07:59 +0100 Load ::DBI::ODBC400 when a DB2/400 ODBC backend is detected. r10390@obrien (orig r1567): semifor | 2006-05-03 22:20:08 +0100 - Corrected a minor typo in a comment. - Added an attribution in the documentation code the module is based on. r10392@obrien (orig r1569): jesper | 2006-05-05 18:25:54 +0100 Fix to make the Postgresql-code handle Schemas. This should be non-intrusive to non-schema-users. r10402@obrien (orig r1579): semifor | 2006-05-08 18:41:54 +0100 Generalized the loading of subclasses for specfic ODBC backends. r10405@obrien (orig r1582): semifor | 2006-05-09 01:02:54 +0100 - Factored out sql_maker arguments so they can be customized by derived ::Storage::DBI::* modules. - Customized sql_maker arguments for DB2/400 over ODBC. r10413@obrien (orig r1590): matthewt | 2006-05-09 14:45:52 +0100 r5828@cain (orig r1581): matthewt | 2006-05-08 23:03:00 +0000 couple bugfixes r10416@obrien (orig r1593): matthewt | 2006-05-09 19:03:41 +0100 r5838@cain (orig r1591): bluefeet | 2006-05-09 15:00:56 +0000 Comment to DBIX_CLASS_STORAGE_DBI_DEBUG stating that it is read on storage creation. r10418@obrien (orig r1595): bluefeet | 2006-05-09 23:02:44 +0100 Add search_rs to ResultSet and a new {$rel}_rs accessor to has_many. r10419@obrien (orig r1596): bluefeet | 2006-05-09 23:17:38 +0100 Fixes to _rs related docs. r10420@obrien (orig r1597): semifor | 2006-05-10 00:21:39 +0100 Test case for DB2/400 over ODBC. r10421@obrien (orig r1598): semifor | 2006-05-10 00:37:16 +0100 Test case for DB2/400 over ODBC. r10424@obrien (orig r1601): dwc | 2006-05-10 16:02:14 +0100 Row::update encapsulates this when passed a hashref; no point in duplication r10425@obrien (orig r1602): dwc | 2006-05-10 16:55:35 +0100 Revert previous bugfix; will apply to trunk r10427@obrien (orig r1604): dwc | 2006-05-10 17:01:46 +0100 r8956@fortuna (orig r1603): dwc | 2006-05-10 12:00:11 -0400 Row::update encapsulates this when passed a hashref; using set_columns bypasses deflation r10428@obrien (orig r1605): dwc | 2006-05-10 21:46:16 +0100 - Fix error message for bad find usage - Restore backwards compatibility for e.g. $rs->find(id => $val) - Add a test for the $rs->find(id => $val) backwards compatibility r10429@obrien (orig r1606): bluefeet | 2006-05-11 02:49:58 +0100 dbicadmin now works when not specifying the where clause. r10442@obrien (orig r1619): matthewt | 2006-05-12 15:16:48 +0100 r5900@cain (orig r1613): jguenther | 2006-05-11 19:20:59 +0000 Added a couple examples to the cookbook r5901@cain (orig r1614): jguenther | 2006-05-11 21:53:25 +0000 Fixed cookbook example to actually work r5902@cain (orig r1615): matthewt | 2006-05-12 00:56:54 +0000 performance fix for cascade_update r5903@cain (orig r1616): matthewt | 2006-05-12 01:04:37 +0000 fixup to gen-schema.pl r5904@cain (orig r1617): matthewt | 2006-05-12 02:17:18 +0000 fixup for stringify that can be false in find_or_create_related r10443@obrien (orig r1620): bluefeet | 2006-05-12 21:49:30 +0100 Testing commit. r10447@obrien (orig r1624): matthewt | 2006-05-14 19:27:01 +0100 r5922@cain (orig r1623): matthewt | 2006-05-14 18:25:56 +0000 tweaked might_have test for -current r10448@obrien (orig r1625): castaway | 2006-05-14 20:11:48 +0100 Add foreign key constraint for new bookmark table r10449@obrien (orig r1626): matthewt | 2006-05-15 02:33:12 +0100 don't ask r10450@obrien (orig r1627): matthewt | 2006-05-15 02:34:00 +0100 don't ask r10451@obrien (orig r1628): matthewt | 2006-05-15 05:19:23 +0100 dumped options from Build.PL r10452@obrien (orig r1629): gphat | 2006-05-15 18:46:01 +0100 Add profiling support --- 4f0bd3e78e96cf74378f791bb290b329abc48098 diff --cc t/lib/DBICTest/Setup.pm index 7f57408,b493cb6..833bebf --- a/t/lib/DBICTest/Setup.pm +++ b/t/lib/DBICTest/Setup.pm @@@ -137,9 -137,14 +137,19 @@@ $schema->populate('Track', [ 18, 1, 3, "Beehind You"], ]); +$schema->populate('Event', [ + [ qw/id starts_at/ ], + [ 1, '2006-04-25 22:24:33' ], +]); + + $schema->populate('Link', [ + [ qw/id title/ ], + [ 1, 'aaa' ] + ]); + + $schema->populate('Bookmark', [ + [ qw/id link/ ], + [ 1, 1 ] + ]); + 1;