2 class SQL::Translator::Object::Trigger extends SQL::Translator::Object {
3 use MooseX::Types::Moose qw(Any ArrayRef HashRef Str);
4 use SQL::Translator::Types qw(Column);
15 isa => HashRef[Column],
17 exists_column => 'exists',
19 get_columns => 'values',
24 get_fields => 'values',
27 default => sub { my %hash = (); tie %hash, 'Tie::IxHash'; return \%hash },
41 has 'perform_action_when' => (
47 has 'database_events' => (
53 around add_column(Column $column) { $self->$orig($column->name, $column) }