mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 19:07:28 +00:00
feat: created yaml databaseChangeLog for add index
This commit is contained in:
parent
42c9fc0112
commit
24b542c186
6 changed files with 72 additions and 0 deletions
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue