feat: created yaml databaseChangeLog for add index

This commit is contained in:
vilar 2025-12-17 18:23:17 +05:00
parent 42c9fc0112
commit 24b542c186
6 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1,11 @@
databaseChangeLog:
- changeSet:
id: 002-add-index-vets-last-name
author: vsevolodkolmogorov
changes:
- createIndex:
indexName: idx_vets_last_name
tableName: vets
columns:
- column:
name: last_name

View file

@ -0,0 +1,11 @@
databaseChangeLog:
- changeSet:
id: 004-add-index-specialties-name
author: vsevolodkolmogorov
changes:
- createIndex:
indexName: idx_specialties_name
tableName: specialties
columns:
- column:
name: name

View file

@ -0,0 +1,11 @@
databaseChangeLog:
- changeSet:
id: 008-add-index-types-schema
author: vsevolodkolmogorov
changes:
- createIndex:
indexName: idx_types_name
tableName: types
columns:
- column:
name: name

View file

@ -0,0 +1,11 @@
databaseChangeLog:
- changeSet:
id: 010-add-index-owners-schema
author: vsevolodkolmogorov
changes:
- createIndex:
indexName: idx_owners_last_name
tableName: owners
columns:
- column:
name: last_name

View file

@ -0,0 +1,17 @@
databaseChangeLog:
- changeSet:
id: 005-add-index-pets-schema.yaml
author: vsevolodkolmogorov
changes:
- createIndex:
indexName: idx_pets_name
tableName: pets
columns:
- column:
name: name
- createIndex:
indexName: idx_pets_owner_id
tableName: pets
columns:
- column:
name: owner_id

View file

@ -0,0 +1,11 @@
databaseChangeLog:
- changeSet:
id: 015-add-index-visits-schema
author: vsevolodkolmogorov
changes:
- createIndex:
indexName: idx_visits_pet_id
tableName: visits
columns:
- column:
name: pet_id