1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/unleash-server/migrations/sql/001-initial-schema.up.sql
2014-10-20 17:46:41 +02:00

19 lines
418 B
SQL

CREATE TABLE strategies (
created_at timestamp default now(),
name varchar(255) PRIMARY KEY NOT NULL,
description text
);
CREATE TABLE features (
created_at timestamp default now(),
name varchar(255) PRIMARY KEY NOT NULL,
strategy_name varchar(255) references strategies(name),
parameters json
);
CREATE TABLE events (
created_at timestamp default now(),
type varchar(255) NOT NULL,
data json
);