Unleash

Unleash

  • Documentation
  • Deploy and manage
  • Integrations
  • Contribute
  • API
  • Enterprise
  • Help

›Contribute to Unleash

Contribute to Unleash

  • Developer guide
  • Client Specification
  • Database Schema

Database Schema

This document describes our current database schema used in PostgreSQL. We use db-migrate to migrate (create tables, add columns, etc.) the database.

Table: migrations

Used by db-migrate module to keep track of migrations.

NAMETYPESIZENULLABLECOLUMN_DEF
idserial100nextval('migrations_id_seq'::regclass)
namevarchar2550(null)
run_ontimestamp290(null)

Table: events

NAMETYPESIZENULLABLECOLUMN_DEF
idserial100nextval('events_id_seq'::regclass)
created_attimestamp291now()
typevarchar2550(null)
created_byvarchar2550(null)
datajson21474836471(null)

Table: strategies

NAMETYPESIZENULLABLECOLUMN_DEF
created_attimestamp291now()
namevarchar2550(null)
descriptiontext21474836471(null)
parameters_templatejson21474836471(null)

Table: features

NAMETYPESIZENULLABLECOLUMN_DEFCOMMENT
created_attimestamp291now()
namevarchar2550(null)
enabledint41010
descriptiontext21474836471(null)
archivedint41010
strategiesjson21474836471(null)
typevarchar21474836471release
last_seen_attimestamp291(null)

Table: client_strategies

COLUMN_NAMETYPE_NAMECOLUMN_SIZENULLABLECOLUMN_DEF
app_namevarchar2550(null)
updated_attimestamp291now()
strategiesjson21474836471(null)

Table: client_instances

COLUMN_NAMETYPE_NAMECOLUMN_SIZENULLABLECOLUMN_DEF
app_namevarchar2551(null)
instance_idvarchar2551(null)
client_ipvarchar2551(null)
last_seentimestamp291now()
created_attimestamp291now()

Table: client_metrics

COLUMN_NAMETYPE_NAMECOLUMN_SIZENULLABLECOLUMN_DEF
idserial100nextval('client_metrics_id_seq'::regclass)
created_attimestamp291now()
metricsjson21474836471(null)

Table: feature_types

COLUMN_NAMETYPE_NAMECOLUMN_SIZENULLABLECOLUMN_DEF
idvarchar2550(null)
namevarchar0(null)
descriptionvarchar1(null)
lifetime_daysinteger1(null)
← Client Specification
  • Table: migrations
  • Table: events
  • Table: strategies
  • Table: features
  • Table: client_strategies
  • Table: client_instances
  • Table: client_metrics
  • Table: feature_types
Unleash
Docs
Getting StartedSecuring UnleashAPI Reference
Community
User ShowcaseSlack communityUnleash-hosted.comTwitter
More
GitHubStar