Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/metaschema-schema/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
EXTENSION = metaschema-schema
DATA = sql/metaschema-schema--0.26.3.sql
DATA = sql/metaschema-schema--0.26.5.sql

PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ CREATE TABLE metaschema_public.check_constraint (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ CREATE TABLE metaschema_public.composite_type (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ CREATE TABLE metaschema_public.enum (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@ CREATE TABLE metaschema_public.field (

-- Field categorization for system/module/app fields (mirrors table categorization)
-- category: 'core' for system fields (id, entity_id, actor_id), 'module' for module-generated fields, 'app' for user-defined fields
-- module: the module name that created this field (e.g., 'users', 'permissions', 'memberships')
-- scope: membership_type int (1=app, 2=org, 3=group, NULL=not scoped)
category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

created_at timestamptz DEFAULT now(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ CREATE TABLE metaschema_public.foreign_key_constraint (
update_action char(1) DEFAULT 'a',

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ CREATE TABLE metaschema_public.index (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ CREATE TABLE metaschema_public.policy (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ CREATE TABLE metaschema_public.primary_key_constraint (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ CREATE TABLE metaschema_public.schema (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ CREATE TABLE metaschema_public.spatial_relation (
param_name text NULL,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ CREATE TABLE metaschema_public.table (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

use_rls boolean NOT NULL DEFAULT FALSE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ CREATE TABLE metaschema_public.trigger (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ CREATE TABLE metaschema_public.unique_constraint (
field_ids uuid[] NOT NULL,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ CREATE TABLE metaschema_public.view (
smart_tags jsonb,

category metaschema_public.object_category NOT NULL DEFAULT 'app',
module text NULL,
scope int NULL,

tags citext[] NOT NULL DEFAULT '{}',
Expand Down
2 changes: 1 addition & 1 deletion packages/metaschema-schema/metaschema-schema.control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# metaschema-schema extension
comment = 'metaschema-schema extension'
default_version = '0.26.3'
default_version = '0.26.5'
module_pathname = '$libdir/metaschema-schema'
requires = 'citext,hstore,pgpm-inflection,pgpm-database-jobs,pgpm-types,pgcrypto,plpgsql,postgis,uuid-ossp,pgpm-verify'
relocatable = false
Expand Down
Loading
Loading