Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-277

id for primary key name, drop configuration option

    XMLWordPrintable

Details

    • CP: sprint 63, CP: sprint 64
    • 2
    • Core: Platform
    • Very Small (VS) < 1day
    • Small < 3 days
    • Medium

    Description

      Each postgres table has a payload field (jsonb) and a primary key field.
      The name of the primary key field is configurable.
      PostgresClient uses _id as default, use setIdField(String) to change it.
      org.folio.rest.persist.ddlgen.Table uses id as default, use "pkColumnName" in templates/db_scripts/schema.json to change it. (cql2pg uses the same).

      Do we need the name of the primary key field being configurable?
      If yes, what should be the default?
      If no, what should RMB use?

      Conclusion:
      Drop name configuration option, always use id.
      This is a breaking change.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                julianladisch Julian Ladisch
                julianladisch Julian Ladisch
                Julian Ladisch Julian Ladisch
                Julian Ladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases