Replace view tables position columns from integer to double (#14162)
This commit is contained in:
@@ -47,7 +47,7 @@ export class ViewFieldEntity extends SyncableEntity {
|
||||
@Column({ nullable: false, type: 'int', default: 0 })
|
||||
size: number;
|
||||
|
||||
@Column({ nullable: false, type: 'int', default: 0 })
|
||||
@Column({ nullable: false, type: 'double precision', default: 0 })
|
||||
position: number;
|
||||
|
||||
@Column({
|
||||
|
||||
+2
-2
@@ -36,8 +36,8 @@ export class ViewFilterGroupEntity extends SyncableEntity {
|
||||
})
|
||||
logicalOperator: ViewFilterGroupLogicalOperator;
|
||||
|
||||
@Column({ nullable: true, type: 'int' })
|
||||
positionInViewFilterGroup?: number | null;
|
||||
@Column({ nullable: true, type: 'double precision' })
|
||||
positionInViewFilterGroup: number | null;
|
||||
|
||||
@Column({ nullable: false, type: 'uuid' })
|
||||
viewId: string;
|
||||
|
||||
@@ -50,8 +50,8 @@ export class ViewFilterEntity extends SyncableEntity {
|
||||
@Column({ nullable: true, type: 'uuid' })
|
||||
viewFilterGroupId?: string | null;
|
||||
|
||||
@Column({ nullable: true, type: 'int' })
|
||||
positionInViewFilterGroup?: number | null;
|
||||
@Column({ nullable: true, type: 'double precision' })
|
||||
positionInViewFilterGroup: number | null;
|
||||
|
||||
@Column({ nullable: true, type: 'text', default: null })
|
||||
subFieldName?: string | null;
|
||||
|
||||
@@ -38,7 +38,7 @@ export class ViewGroupEntity extends SyncableEntity {
|
||||
@Column({ nullable: false, type: 'text' })
|
||||
fieldValue: string;
|
||||
|
||||
@Column({ nullable: false, type: 'int', default: 0 })
|
||||
@Column({ nullable: false, type: 'double precision', default: 0 })
|
||||
position: number;
|
||||
|
||||
@Column({ nullable: false, type: 'uuid' })
|
||||
|
||||
@@ -66,7 +66,7 @@ export class ViewEntity extends SyncableEntity {
|
||||
@Column({ nullable: false, type: 'text' })
|
||||
icon: string;
|
||||
|
||||
@Column({ nullable: false, type: 'int', default: 0 })
|
||||
@Column({ nullable: false, type: 'double precision', default: 0 })
|
||||
position: number;
|
||||
|
||||
@Column({ nullable: false, default: false, type: 'boolean' })
|
||||
|
||||
Reference in New Issue
Block a user