def get_decimal_type_declaration_sql(self, column):
        if 'precision' not in column or not column['precision']:
            column['precision'] = 10

        if 'scale' not in column or not column['scale']:
            column['precision'] = 0

        return 'NUMERIC(%s, %s)' % (column['precision'], column['scale'])
dataset/ETHPy150Open sdispater/orator/orator/dbal/platforms/platform.py/Platform.get_decimal_type_declaration_sql/original