@pgpm/verify 0.11.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ This is a quick way to get started. The sections below provide more detailed ins
|
|
|
41
41
|
### Prerequisites
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
# Install pgpm CLI
|
|
44
|
+
# Install pgpm CLI
|
|
45
45
|
npm install -g pgpm
|
|
46
46
|
|
|
47
47
|
# Start local Postgres (via Docker) and export env vars
|
|
@@ -58,7 +58,7 @@ eval "$(pgpm env)"
|
|
|
58
58
|
pgpm install @pgpm/verify
|
|
59
59
|
|
|
60
60
|
# 2. Deploy locally
|
|
61
|
-
pgpm deploy
|
|
61
|
+
pgpm deploy
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
### **Add to a New Project**
|
|
@@ -292,16 +292,16 @@ describe('User Table', () => {
|
|
|
292
292
|
email text NOT NULL
|
|
293
293
|
)
|
|
294
294
|
`);
|
|
295
|
-
|
|
295
|
+
|
|
296
296
|
// Verify table was created
|
|
297
297
|
await pg.query(`SELECT verify.verify_table('public', 'users')`);
|
|
298
298
|
});
|
|
299
|
-
|
|
299
|
+
|
|
300
300
|
it('should create email index', async () => {
|
|
301
301
|
await pg.query(`
|
|
302
302
|
CREATE INDEX users_email_idx ON public.users(email)
|
|
303
303
|
`);
|
|
304
|
-
|
|
304
|
+
|
|
305
305
|
// Verify index was created
|
|
306
306
|
await pg.query(`SELECT verify.verify_index('public', 'users_email_idx')`);
|
|
307
307
|
});
|
|
@@ -318,19 +318,19 @@ DO $$
|
|
|
318
318
|
BEGIN
|
|
319
319
|
-- Create schema
|
|
320
320
|
CREATE SCHEMA IF NOT EXISTS app_jobs;
|
|
321
|
-
|
|
321
|
+
|
|
322
322
|
-- Verify schema was created
|
|
323
323
|
PERFORM verify.verify_schema('app_jobs');
|
|
324
|
-
|
|
324
|
+
|
|
325
325
|
-- Create table
|
|
326
326
|
CREATE TABLE app_jobs.jobs (
|
|
327
327
|
id serial PRIMARY KEY,
|
|
328
328
|
task_identifier text NOT NULL
|
|
329
329
|
);
|
|
330
|
-
|
|
330
|
+
|
|
331
331
|
-- Verify table was created
|
|
332
332
|
PERFORM verify.verify_table('app_jobs', 'jobs');
|
|
333
|
-
|
|
333
|
+
|
|
334
334
|
RAISE NOTICE 'Migration completed successfully';
|
|
335
335
|
END $$;
|
|
336
336
|
```
|
|
@@ -450,4 +450,4 @@ None - this is the foundational package that all other packages depend on.
|
|
|
450
450
|
|
|
451
451
|
AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.
|
|
452
452
|
|
|
453
|
-
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
|
|
453
|
+
No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpm/verify",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Verification utilities for LaunchQL deploy/verify/revert workflow",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"bugs": {
|
|
32
32
|
"url": "https://github.com/launchql/pgpm-modules/issues"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "e7de11be3a2fd806929adf48acc556d812c75aa6"
|
|
35
35
|
}
|