rake-db 2.21.0 → 2.21.2

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/dist/index.d.ts +2 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -216,10 +216,12 @@ declare const tableChangeMethods: {
216
216
  comment(comment: string | null): Change;
217
217
  rename(name: string): RakeDbAst.ChangeTableItem.Rename;
218
218
  primaryKey<Columns extends [string, ...string[]], Name extends string>(columns: Columns, name?: Name | undefined): {
219
+ tableDataItem: true;
219
220
  columns: Columns;
220
221
  name: string extends Name ? never : Name;
221
222
  };
222
223
  unique<Columns_1 extends [string | TableData.Index.ColumnOrExpressionOptions<string>, ...(string | TableData.Index.ColumnOrExpressionOptions<string>)[]], Name_1 extends string>(columns: Columns_1, ...args: [options?: TableData.Index.UniqueOptionsArg | undefined] | [name?: Name_1 | undefined, options?: TableData.Index.UniqueOptionsArg | undefined]): {
224
+ tableDataItem: true;
223
225
  columns: Columns_1 extends (string | TableData.Index.ColumnOptionsForColumn<string>)[] ? { [I in keyof Columns_1]: "column" extends keyof Columns_1[I] ? Columns_1[I][keyof Columns_1[I] & "column"] : Columns_1[I]; } : never;
224
226
  name: string extends Name_1 ? never : Name_1;
225
227
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rake-db",
3
- "version": "2.21.0",
3
+ "version": "2.21.2",
4
4
  "description": "Migrations tool for Postgresql DB",
5
5
  "homepage": "https://orchid-orm.netlify.app/guide/migration-setup-and-overview.html",
6
6
  "repository": {
@@ -45,8 +45,8 @@
45
45
  "license": "ISC",
46
46
  "dependencies": {
47
47
  "prompts": "^2.4.2",
48
- "orchid-core": "0.17.0",
49
- "pqb": "0.34.0"
48
+ "orchid-core": "0.18.0",
49
+ "pqb": "0.35.1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/prompts": "^2.4.9",