Ticket #1006 (closed defect: fixed)

Opened 14 months ago

Last modified 9 months ago

doctrine-build-schema doesn't handle decimals with scales

Reported by: jontodd Owned by: jwage
Priority: minor Milestone: 1.0.4
Component: Attributes Version: 1.0.2
Severity: Keywords:
Cc: Has Test: no
Status: Pending Core Response Has Patch: no

Description

When building schema file from existing DB, decimals orignially defined as numeric(9,8) become the following in the generated schema file:

number:

type: decimal(9)

it should be

number:

type: decimal(9)

scale: 8

Perhaps a better answer to this is to support the native format decimal(x,y), having to specify "scale: y" is unintuitive and not well documented on the site.

Change History

Changed 12 months ago by anonymous

  • milestone 0.11.2 deleted

Milestone 0.11.2 deleted

Changed 12 months ago by romanb

  • has_patch unset
  • milestone changed from 0.11.1 to 1.0.0-BETA1
  • mystatus set to Pending Core Response
  • has_test unset

Changed 10 months ago by jwage

  • version changed from 0.10 to 1.0
  • milestone changed from Unknown to 1.0.0-RC2

Changed 10 months ago by anonymous

  • milestone New deleted

Milestone New deleted

Changed 9 months ago by jwage

  • version changed from 1.0.0 to 1.0.2
  • milestone set to 1.0.4

Changed 9 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed

(In [5123]) [1.0, 1.1] fixes #1006

Note: See TracTickets for help on using tickets.