misc: cleanup version numbers
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Multi-OrBAC: Organization-Based Access Control
|
# Multi-OrBAC: Organization-Based Access Control
|
||||||
|
|
||||||
EXTENSION = morbac_pg
|
EXTENSION = morbac_pg
|
||||||
EXTVERSION = 1.0
|
EXTVERSION = 1.0.0
|
||||||
|
|
||||||
DATA = $(EXTENSION)--$(EXTVERSION).sql
|
DATA = $(EXTENSION)--$(EXTVERSION).sql
|
||||||
DOCS = README.md
|
DOCS = README.md
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ psql -d mydb -c "CREATE EXTENSION morbac_pg;"
|
|||||||
```bash
|
```bash
|
||||||
# Copy files to PostgreSQL extension directory
|
# Copy files to PostgreSQL extension directory
|
||||||
sudo cp morbac_pg.control $(pg_config --sharedir)/extension/
|
sudo cp morbac_pg.control $(pg_config --sharedir)/extension/
|
||||||
sudo cp morbac_pg--1.0.sql $(pg_config --sharedir)/extension/
|
sudo cp morbac_pg--1.0.0.sql $(pg_config --sharedir)/extension/
|
||||||
|
|
||||||
# Enable in PostgreSQL
|
# Enable in PostgreSQL
|
||||||
psql -d mydb -c "CREATE EXTENSION morbac_pg;"
|
psql -d mydb -c "CREATE EXTENSION morbac_pg;"
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ fi
|
|||||||
# Copy extension files
|
# Copy extension files
|
||||||
echo "Installing extension files..."
|
echo "Installing extension files..."
|
||||||
cp -v morbac_pg.control "$EXTDIR/"
|
cp -v morbac_pg.control "$EXTDIR/"
|
||||||
cp -v morbac_pg--1.0.sql "$EXTDIR/"
|
cp -v morbac_pg--1.0.0.sql "$EXTDIR/"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "=================================="
|
echo "=================================="
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
-- =============================================================================
|
-- =============================================================================
|
||||||
-- morbac_pg Extension - Version 1.0
|
-- morbac_pg Extension - Version 1.0.0
|
||||||
-- =============================================================================
|
-- =============================================================================
|
||||||
-- Multi-OrBAC: Organization-Based Access Control with Multi-Organization Support
|
-- Multi-OrBAC: Organization-Based Access Control with Multi-Organization Support
|
||||||
-- Based on the CNRS research paper on Multi-OrBAC model
|
-- Based on the CNRS research paper on Multi-OrBAC model
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# morbac_pg extension
|
# morbac_pg extension
|
||||||
# Multi-OrBAC access control model for PostgreSQL
|
# Multi-OrBAC access control model for PostgreSQL
|
||||||
comment = 'Multi-OrBAC: Organization-Based Access Control with multi-organization support'
|
comment = 'Multi-OrBAC: Organization-Based Access Control with multi-organization support'
|
||||||
default_version = '1.0'
|
default_version = '1.0.0'
|
||||||
module_pathname = '$libdir/morbac_pg'
|
module_pathname = '$libdir/morbac_pg'
|
||||||
relocatable = false
|
relocatable = false
|
||||||
schema = morbac
|
schema = morbac
|
||||||
|
|||||||
Reference in New Issue
Block a user