|
|
@ -17,7 +17,7 @@ import Sort from '~/models/Sort'; |
|
|
|
import Filter from '~/models/Filter'; |
|
|
|
import Filter from '~/models/Filter'; |
|
|
|
import QrCodeColumn from '~/models/QrCodeColumn'; |
|
|
|
import QrCodeColumn from '~/models/QrCodeColumn'; |
|
|
|
import BarcodeColumn from '~/models/BarcodeColumn'; |
|
|
|
import BarcodeColumn from '~/models/BarcodeColumn'; |
|
|
|
import { GalleryView, KanbanView, LinksColumn } from '~/models'; |
|
|
|
import { FileReference, GalleryView, KanbanView, LinksColumn } from '~/models'; |
|
|
|
import { extractProps } from '~/helpers/extractProps'; |
|
|
|
import { extractProps } from '~/helpers/extractProps'; |
|
|
|
import { NcError } from '~/helpers/catchError'; |
|
|
|
import { NcError } from '~/helpers/catchError'; |
|
|
|
import addFormulaErrorIfMissingColumn from '~/helpers/addFormulaErrorIfMissingColumn'; |
|
|
|
import addFormulaErrorIfMissingColumn from '~/helpers/addFormulaErrorIfMissingColumn'; |
|
|
@ -984,6 +984,9 @@ export default class Column<T = any> implements ColumnType { |
|
|
|
await Column.delete(context, ltarColumn.fk_column_id, ncMeta); |
|
|
|
await Column.delete(context, ltarColumn.fk_column_id, ncMeta); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Delete FileReference
|
|
|
|
|
|
|
|
await FileReference.bulkDelete(context, { fk_column_id: col.id }, ncMeta); |
|
|
|
|
|
|
|
|
|
|
|
// Columns
|
|
|
|
// Columns
|
|
|
|
await ncMeta.metaDelete( |
|
|
|
await ncMeta.metaDelete( |
|
|
|
context.workspace_id, |
|
|
|
context.workspace_id, |
|
|
|