add teams table and entity

This commit is contained in:
akshat-sonic
2023-02-22 14:43:45 +05:30
parent a8c0f65de8
commit 6977f16e87
7 changed files with 54 additions and 19 deletions

View File

@@ -0,0 +1,16 @@
--liquibase formatted sql
--changeset author:akshatsoni id:202302221436
CREATE TABLE teams (
id SERIAL PRIMARY KEY,
team_id varchar(36) NOT NULL,
team_name varchar(100) NOT NULL,
description text NOT NULL,
version BIGINT,
created_at timestamp,
updated_at timestamp
);
CREATE INDEX idx_team_id ON teams(team_id);
CREATE INDEX idx_team_name ON teams(team_name);