diff --git a/src/wei/types/resource_types.py b/src/wei/types/resource_types.py index 910890af..5f568151 100644 --- a/src/wei/types/resource_types.py +++ b/src/wei/types/resource_types.py @@ -26,6 +26,9 @@ class AssetBase(SQLModel): id: str = SQLField(default_factory=lambda: str(ulid.new()), primary_key=True) name: str = SQLField(default="", nullable=False) module_name: str = SQLField(default="", nullable=True) + unique_resource: bool = SQLField( + default=True, nullable=False + ) # New flag to determine uniqueness class Asset(AssetBase, table=True):