diff --git a/META.json b/META.json new file mode 100644 index 0000000..bc75e84 --- /dev/null +++ b/META.json @@ -0,0 +1,45 @@ +{ + "name": "pg_savior", + "abstract": "Prevent accidental data loss", + "description": "A PostgreSQL extension designed to prevent accidental data loss due to non-parameterized DELETE queries without a WHERE clause.", + "version": "1.0.0", + "maintainer": [ + "viggy28 " + ], + "license": "postgresql", + "provides": { + "pg_savior": { + "abstract": "Prevent accidental data loss", + "file": "pg_savior--1.0.0.sql", + "docfile": "README.md", + "version": "1.0.0" + } + }, + "prereqs": { + "runtime": { + "requires": { + "PostgreSQL": "10.0.0" + } + } + }, + "resources": { + "bugtracker": { + "web": "https://github.com/viggy28/pg_savior/issues" + }, + "repository": { + "url": "git://github.com/viggy28/pg_savior.git", + "web": "https://github.com/viggy28/pg_savior", + "type": "git" + } + }, + "generated_by": "David E. Wheeler", + "meta-spec": { + "version": "1.0.0", + "url": "https://pgxn.org/meta/spec.txt" + }, + "tags": [ + "delete", + "data loss", + "safe" + ] +} diff --git a/README.md b/README.md index 4ec5a71..1361db5 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ pg_savior is a PostgreSQL extension designed to prevent accidental data loss due ## Installation -1. Clone the repository. +Source: + +1. Clone the repository or [download from PGXN](https://pgxn.org/extension/pg_savior) 2. Navigate to the repository directory. 3. Run `make` to build the extension. 4. Run `make install` to install the extension.