Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TreatHunter/f491d1b58ea0a670fcdf7310b0795980 to your computer and use it in GitHub Desktop.
Save TreatHunter/f491d1b58ea0a670fcdf7310b0795980 to your computer and use it in GitHub Desktop.
Change set создания таблицы для статьи
databaseChangeLog:
- logicalFilePath: db/changelog/migrations/db.changelog-0.1-addSimbirsoftOfficesTable.yaml
- changeSet:
id: 001_create_simbirsoft_offices_table
author: TreatHunter
changes:
- createTable:
tableName: simbirsoft_offices
columns:
- column:
name: id
type: int
constraints:
primaryKey: true
nullable: false
- column:
name: city
type: varchar(100)
- column:
name: index
type: int
- column:
name: address
type: varchar(255)
- column:
name: is_head
type: boolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment