|| $self->ut_foreign_key('discountnum', 'discount', 'discountnum' )
|| $self->ut_float('months_used') #actually decimal, but this will do
|| $self->ut_numbern('end_date')
|| $self->ut_foreign_key('discountnum', 'discount', 'discountnum' )
|| $self->ut_float('months_used') #actually decimal, but this will do
|| $self->ut_numbern('end_date')
+# Used by FS::Upgrade to migrate to a new database.
+sub _upgrade_data { # class method
+ my ($class, %opts) = @_;
+ $class->_upgrade_otaker(%opts);
+}
+