pqb 0.2.1 → 0.2.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.
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/columnSchema/columnType.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2320,7 +2320,7 @@ declare abstract class ColumnType<Type = unknown, Ops extends Operators = Operat
|
|
|
2320
2320
|
default<T extends ColumnType>(this: T, value: T['type'] | RawExpression): T & {
|
|
2321
2321
|
hasDefault: true;
|
|
2322
2322
|
};
|
|
2323
|
-
index<T extends ColumnType>(this: T, options?: Omit<SingleColumnIndexOptions, 'column'>):
|
|
2323
|
+
index<T extends ColumnType>(this: T, options?: Omit<SingleColumnIndexOptions, 'column'>): T;
|
|
2324
2324
|
unique<T extends ColumnType>(this: T, options?: Omit<SingleColumnIndexOptions, 'column' | 'unique'>): T;
|
|
2325
2325
|
comment<T extends ColumnType>(this: T, comment: string): T;
|
|
2326
2326
|
validationDefault<T extends ColumnType>(this: T, value: T['type']): T;
|