stepwise-migrations 1.0.13 → 1.0.14

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/db.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stepwise-migrations",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/db.ts CHANGED
@@ -85,7 +85,7 @@ CREATE TABLE IF NOT EXISTS ${schema}.stepwise_migrations (
85
85
  CREATE TABLE IF NOT EXISTS ${schema}.stepwise_audit (
86
86
  id SERIAL PRIMARY KEY,
87
87
  type TEXT NOT NULL,
88
- name TEXT UNIQUE NOT NULL,
88
+ name TEXT NOT NULL,
89
89
  script TEXT NOT NULL,
90
90
  applied_by TEXT NOT NULL DEFAULT current_user,
91
91
  applied_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP