has 'data_type' => (
is => 'rw',
+ isa => Str,
+ required => 1
+ );
+
+ has 'sql_data_type' => (
+ is => 'rw',
isa => Int,
required => 1
);
default => 1
);
- has 'is_auto_increment' => (
- is => 'rw',
- isa => Bool,
- required => 1,
- default => 0
- );
-
has 'default_value' => (
is => 'rw',
isa => Maybe[Str],
isa => Maybe[Str],
);
+ has 'is_auto_increment' => (
+ is => 'rw',
+ isa => Bool,
+ required => 1,
+ default => 0
+ );
+
has 'is_primary_key' => (
is => 'rw',
isa => Bool,