- Remove dead DB columns: uuid, sync_version from quotations/quotation_items/scope_sections; is_deleted from quotation_items/scope_sections; content_editor_height from scope_sections - Remove unused scope_title/scope_description from offer form state - Remove dead CSS: offers-template-menu, offers-draft-indicator, exchange-rate - Remove dead scope_title translation key from offers PDF - Fix duplicate Customer interface in OfferDetail.tsx (use shared type) - Add missing title field to ScopeTemplate interface - Add item template picker dropdown next to "Přidat položku" button Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
14 lines
577 B
SQL
14 lines
577 B
SQL
-- AlterTable: quotation_items
|
|
ALTER TABLE `quotation_items` DROP COLUMN `uuid`;
|
|
ALTER TABLE `quotation_items` DROP COLUMN `is_deleted`;
|
|
ALTER TABLE `quotation_items` DROP COLUMN `sync_version`;
|
|
|
|
-- AlterTable: quotations
|
|
ALTER TABLE `quotations` DROP COLUMN `uuid`;
|
|
ALTER TABLE `quotations` DROP COLUMN `sync_version`;
|
|
|
|
-- AlterTable: scope_sections
|
|
ALTER TABLE `scope_sections` DROP COLUMN `content_editor_height`;
|
|
ALTER TABLE `scope_sections` DROP COLUMN `uuid`;
|
|
ALTER TABLE `scope_sections` DROP COLUMN `is_deleted`;
|
|
ALTER TABLE `scope_sections` DROP COLUMN `sync_version`; |