Skip to content

[BE] Enhancements to Subscription History Table

What does this MR do and why?

Add created_at to the LicenseType to support the Added on column in the NEW Subscription History Table.

futureDated

Disclaimer: This is the backend bit that will enable the new column, there is no UI change at the Subscription History Table yet / this value is not used yet.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

Does not apply.

How to set up and validate locally

  1. With your local gdk running, visit http://localhost:3000/-/graphql-explorer
  2. This query should produce an output for the created_at value.
{
  currentLicense {
    id
    type
    plan
    name
    email
    company
    startsAt
    expiresAt
    createdAt
    activatedAt
    lastSync
    usersInLicenseCount
    billableUsersCount
    maximumUserCount
    usersOverLicenseCount
  }
}

# you can also just query for
{
  currentLicense {
    createdAt
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #341173 (closed)

Edited by Vladlena Shumilo

Merge request reports