mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat: naming strategy (#19848)
* feat: naming strategy * feat: detect renames
This commit is contained in:
parent
1d19d308e2
commit
9e48ae3052
35 changed files with 517 additions and 127 deletions
|
|
@ -13,6 +13,7 @@ describe(transformColumns.name, () => {
|
|||
column: {
|
||||
name: 'column1',
|
||||
tableName: 'table1',
|
||||
primary: false,
|
||||
type: 'character varying',
|
||||
nullable: false,
|
||||
isArray: false,
|
||||
|
|
@ -30,6 +31,7 @@ describe(transformColumns.name, () => {
|
|||
column: {
|
||||
name: 'column1',
|
||||
tableName: 'table1',
|
||||
primary: false,
|
||||
type: 'character varying',
|
||||
nullable: true,
|
||||
isArray: false,
|
||||
|
|
@ -47,6 +49,7 @@ describe(transformColumns.name, () => {
|
|||
column: {
|
||||
name: 'column1',
|
||||
tableName: 'table1',
|
||||
primary: false,
|
||||
type: 'character varying',
|
||||
enumName: 'table1_column1_enum',
|
||||
nullable: true,
|
||||
|
|
@ -65,6 +68,7 @@ describe(transformColumns.name, () => {
|
|||
column: {
|
||||
name: 'column1',
|
||||
tableName: 'table1',
|
||||
primary: false,
|
||||
type: 'boolean',
|
||||
nullable: true,
|
||||
isArray: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue