From b9289de7b08140f2ec98600aaeb2db0bc9a2bef8 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 1 Mar 2011 19:35:05 +0100 Subject: Fix alias table schema. --- lib/Fripost/Schema/Result/Alias.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3