Initial copy of business card prop with profile
This commit is contained in:
parent
4f0f88504a
commit
9541fb1927
16 changed files with 1193 additions and 71 deletions
|
|
@ -197,6 +197,9 @@ CREATE TABLE realm.props (
|
|||
-- Default scale factor for dropped props (10% - 1000%)
|
||||
default_scale REAL NOT NULL DEFAULT 1.0 CHECK (default_scale >= 0.1 AND default_scale <= 10.0),
|
||||
|
||||
-- Optional JSON Schema for validating state structure
|
||||
state_schema JSONB,
|
||||
|
||||
is_unique BOOLEAN NOT NULL DEFAULT false,
|
||||
is_transferable BOOLEAN NOT NULL DEFAULT true,
|
||||
is_droppable BOOLEAN NOT NULL DEFAULT true,
|
||||
|
|
@ -223,6 +226,7 @@ CREATE TABLE realm.props (
|
|||
);
|
||||
|
||||
COMMENT ON TABLE realm.props IS 'Realm-specific prop library';
|
||||
COMMENT ON COLUMN realm.props.state_schema IS 'Optional JSON Schema defining valid state structure for this prop';
|
||||
|
||||
CREATE INDEX idx_realm_props_realm ON realm.props (realm_id);
|
||||
CREATE INDEX idx_realm_props_tags ON realm.props USING GIN (tags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue