projects
/
dbsrgits/SQL-Translator-2.0-ish.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
move reference_* down to Constraint
[dbsrgits/SQL-Translator-2.0-ish.git]
/
lib
/
SQL
/
Translator
/
Object
/
Constraint.pm
diff --git
a/lib/SQL/Translator/Object/Constraint.pm
b/lib/SQL/Translator/Object/Constraint.pm
index
f5e5c21
..
759b97f
100644
(file)
--- a/
lib/SQL/Translator/Object/Constraint.pm
+++ b/
lib/SQL/Translator/Object/Constraint.pm
@@
-49,6
+49,17
@@
class SQL::Translator::Object::Constraint {
isa => Str,
);
+ has 'reference_table' => (
+ isa => Maybe[Str],
+ is => 'rw',
+ );
+
+ has 'reference_columns' => (
+ isa => ArrayRef | Undef,
+ is => 'rw',
+ auto_deref => 1
+ );
+
has 'options' => (
is => 'rw',
isa => ArrayRef,