Split 49 modules/suites into independent git repos; untrack from monorepo
Each top-level module/suite folder is now its own private repo on GitHub (gsinghpal/<name>) and gitea (admin/<name>), with a fresh single initial commit. The monorepo no longer tracks them (added to .gitignore + git rm --cached); working-tree files are retained on disk and managed in their own repos. The monorepo keeps shared root files (CLAUDE.md, docs/, scripts/, tools/, AGENTS.md, WIP/obsolete dirs) and full history. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
"""Drop the redundant ``revision_number`` Integer column on fp.part.catalog.
|
||||
|
||||
The model historically carried two revision fields:
|
||||
* ``revision`` (Char, required) - the customer's actual revision label
|
||||
* ``revision_number`` (Integer) - an internal counter
|
||||
|
||||
The Integer counter duplicated information already in ``revision`` and
|
||||
got out of sync whenever the customer used a non-numeric scheme
|
||||
(A/B/C, A1/A2, "ECO-2024-014" etc.). This migration drops the column.
|
||||
``action_create_revision`` and the auto-rev path on 3D-model upload now
|
||||
use ``_bump_revision_label`` which best-effort bumps the alphanumeric
|
||||
label and lets the user adjust to the customer's actual scheme.
|
||||
"""
|
||||
|
||||
|
||||
def migrate(cr, version):
|
||||
cr.execute("""
|
||||
ALTER TABLE fp_part_catalog DROP COLUMN IF EXISTS revision_number;
|
||||
""")
|
||||
Reference in New Issue
Block a user