[Bast-commits] r3861 - in
DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest: . Schema
plu at dev.catalyst.perl.org
plu at dev.catalyst.perl.org
Wed Nov 7 17:16:45 GMT 2007
Author: plu
Date: 2007-11-07 17:16:44 +0000 (Wed, 07 Nov 2007)
New Revision: 3861
Added:
DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema/SequenceTest.pm
Removed:
DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema/ArtistOracle.pm
Modified:
DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema.pm
Log:
renamed schema ArtistOracle to SequenceTest since it won't be oracle specific anymore
Deleted: DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema/ArtistOracle.pm
===================================================================
--- DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema/ArtistOracle.pm 2007-11-06 21:58:42 UTC (rev 3860)
+++ DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema/ArtistOracle.pm 2007-11-07 17:16:44 UTC (rev 3861)
@@ -1,36 +0,0 @@
-package # hide from PAUSE
- DBICTest::Schema::ArtistOracle;
-
-use base 'DBIx::Class::Core';
-
-__PACKAGE__->table('artist_oracle');
-__PACKAGE__->source_info({
- "source_info_key_A" => "source_info_value_A",
- "source_info_key_B" => "source_info_value_B",
- "source_info_key_C" => "source_info_value_C",
-});
-__PACKAGE__->add_columns(
- 'artistid' => {
- data_type => 'integer',
- auto_nextval => 1,
- sequence => 'artist_oracle_seq',
- },
- 'otherid' => {
- data_type => 'integer',
- auto_nextval => 1,
- sequence => 'artist_oracle_otherid_seq',
- },
- 'nonpriid' => {
- data_type => 'integer',
- auto_nextval => 1,
- sequence => 'artist_oracle_nonpriid_seq',
- },
- 'name' => {
- data_type => 'varchar',
- size => 100,
- is_nullable => 1,
- },
-);
-__PACKAGE__->set_primary_key('artistid', 'otherid');
-
-1;
Copied: DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema/SequenceTest.pm (from rev 3860, DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema/ArtistOracle.pm)
===================================================================
--- DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema/SequenceTest.pm (rev 0)
+++ DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema/SequenceTest.pm 2007-11-07 17:16:44 UTC (rev 3861)
@@ -0,0 +1,37 @@
+package # hide from PAUSE
+ DBICTest::Schema::SequenceTest;
+
+use base 'DBIx::Class::Core';
+
+__PACKAGE__->table('sequence_test');
+__PACKAGE__->source_info({
+ "source_info_key_A" => "source_info_value_A",
+ "source_info_key_B" => "source_info_value_B",
+ "source_info_key_C" => "source_info_value_C",
+ "source_info_key_D" => "source_info_value_D",
+});
+__PACKAGE__->add_columns(
+ 'pkid1' => {
+ data_type => 'integer',
+ auto_nextval => 1,
+ sequence => 'pkid1_seq',
+ },
+ 'pkid2' => {
+ data_type => 'integer',
+ auto_nextval => 1,
+ sequence => 'pkid2_seq',
+ },
+ 'nonpkid' => {
+ data_type => 'integer',
+ auto_nextval => 1,
+ sequence => 'nonpkid_seq',
+ },
+ 'name' => {
+ data_type => 'varchar',
+ size => 100,
+ is_nullable => 1,
+ },
+);
+__PACKAGE__->set_primary_key('pkid1', 'pkid2');
+
+1;
Modified: DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema.pm
===================================================================
--- DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema.pm 2007-11-06 21:58:42 UTC (rev 3860)
+++ DBIx-Class/0.08/branches/oracle_sequence/t/lib/DBICTest/Schema.pm 2007-11-07 17:16:44 UTC (rev 3861)
@@ -7,7 +7,7 @@
__PACKAGE__->load_classes(qw/
Artist
- ArtistOracle
+ SequenceTest
Employee
CD
FileColumn
More information about the Bast-commits
mailing list