feat: remove PaymentsTable reference from PublicSchema
This commit is contained in:
parent
b1143f5c24
commit
0e936140f2
2 changed files with 0 additions and 45 deletions
|
|
@ -1,42 +0,0 @@
|
||||||
// @generated
|
|
||||||
// This file is automatically generated by Kanel. Do not modify manually.
|
|
||||||
|
|
||||||
import type { UsersId } from './Users';
|
|
||||||
import type { default as PaymentStatusEnum } from './PaymentStatusEnum';
|
|
||||||
import type { ServizioServizioId } from './Servizio';
|
|
||||||
import type { OrdiniOrdineId } from './Ordini';
|
|
||||||
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
||||||
|
|
||||||
/** Identifier type for public.payments */
|
|
||||||
export type PaymentsId = string & { __brand: 'public.payments' };
|
|
||||||
|
|
||||||
/** Represents the table public.payments */
|
|
||||||
export default interface PaymentsTable {
|
|
||||||
id: ColumnType<PaymentsId, PaymentsId | undefined, PaymentsId>;
|
|
||||||
|
|
||||||
userid: ColumnType<UsersId, UsersId, UsersId>;
|
|
||||||
|
|
||||||
amount_cent: ColumnType<number, number, number>;
|
|
||||||
|
|
||||||
created_at: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
||||||
|
|
||||||
paymentmethod: ColumnType<string | null, string | null, string | null>;
|
|
||||||
|
|
||||||
paymentname: ColumnType<string, string, string>;
|
|
||||||
|
|
||||||
paid_at: ColumnType<Date | null, Date | string | null, Date | string | null>;
|
|
||||||
|
|
||||||
intent_id: ColumnType<string | null, string | null, string | null>;
|
|
||||||
|
|
||||||
paymentstatus: ColumnType<PaymentStatusEnum | null, PaymentStatusEnum | null, PaymentStatusEnum | null>;
|
|
||||||
|
|
||||||
servizio_id: ColumnType<ServizioServizioId, ServizioServizioId, ServizioServizioId>;
|
|
||||||
|
|
||||||
ordine_id: ColumnType<OrdiniOrdineId, OrdiniOrdineId, OrdiniOrdineId>;
|
|
||||||
}
|
|
||||||
|
|
||||||
export type Payments = Selectable<PaymentsTable>;
|
|
||||||
|
|
||||||
export type NewPayments = Insertable<PaymentsTable>;
|
|
||||||
|
|
||||||
export type PaymentsUpdate = Updateable<PaymentsTable>;
|
|
||||||
|
|
@ -11,7 +11,6 @@ import type { default as UsersStorageTable } from './UsersStorage';
|
||||||
import type { default as ServizioAnnunciTable } from './ServizioAnnunci';
|
import type { default as ServizioAnnunciTable } from './ServizioAnnunci';
|
||||||
import type { default as UserInvitesTable } from './UserInvites';
|
import type { default as UserInvitesTable } from './UserInvites';
|
||||||
import type { default as EmailsTable } from './Emails';
|
import type { default as EmailsTable } from './Emails';
|
||||||
import type { default as PaymentsTable } from './Payments';
|
|
||||||
import type { default as PotenzialiGroupsTable } from './PotenzialiGroups';
|
import type { default as PotenzialiGroupsTable } from './PotenzialiGroups';
|
||||||
import type { default as ComuniTable } from './Comuni';
|
import type { default as ComuniTable } from './Comuni';
|
||||||
import type { default as EventQueueTable } from './EventQueue';
|
import type { default as EventQueueTable } from './EventQueue';
|
||||||
|
|
@ -52,8 +51,6 @@ export default interface PublicSchema {
|
||||||
|
|
||||||
emails: EmailsTable;
|
emails: EmailsTable;
|
||||||
|
|
||||||
payments: PaymentsTable;
|
|
||||||
|
|
||||||
potenziali_groups: PotenzialiGroupsTable;
|
potenziali_groups: PotenzialiGroupsTable;
|
||||||
|
|
||||||
comuni: ComuniTable;
|
comuni: ComuniTable;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue