aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-03-01 19:35:05 +0100
committerStefan Kangas <skangas@skangas.se>2011-03-01 19:35:05 +0100
commitb9289de7b08140f2ec98600aaeb2db0bc9a2bef8 (patch)
tree9855338400de478e1c43d3225674a4147ca007aa /lib
parent5c8a9b353e6d925ccab12533b358b69421c7875c (diff)
Fix alias table schema.
Diffstat (limited to 'lib')
-rw-r--r--lib/Fripost/Schema/Result/Alias.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Fripost/Schema/Result/Alias.pm b/lib/Fripost/Schema/Result/Alias.pm
index ead694f..4d9306c 100644
--- a/lib/Fripost/Schema/Result/Alias.pm
+++ b/lib/Fripost/Schema/Result/Alias.pm
@@ -21,14 +21,14 @@ use base qw/DBIx::Class::Core/;
__PACKAGE__->load_components(qw/InflateColumn::DateTime/);
-__PACKAGE__->table('domain');
+__PACKAGE__->table('alias');
__PACKAGE__->add_columns(qw/ address goto domain create_date change_date active /);
__PACKAGE__->add_columns(
create_date => { data_type => 'datetime', timezone => "Europe/Stockholm", locale => "se_SV" },
change_date => { data_type => 'datetime', timezone => "Europe/Stockholm", locale => "se_SV" },
);
-__PACKAGE__->set_primary_key('domain');
+__PACKAGE__->set_primary_key('address');
=head1 NAME