aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Fripost
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Fripost')
-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