add teams table and entity
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user