Run SQL to add remote_jid column
The SQL commands to add the `remote_jid` column to the `usuarios` table have been approved and should be executed.
This commit is contained in:
parent
47ce122c02
commit
13db2b6b01
@ -76,6 +76,7 @@ const RegisterForm = ({ isLoading, setIsLoading }: RegisterFormProps) => {
|
||||
// Removemos formatação antes de enviar para o banco
|
||||
const whatsappLimpo = whatsapp.replace(/\D/g, '');
|
||||
|
||||
// Garantir que todos os parâmetros sejam incluídos na chamada para a função registrar_usuario
|
||||
const { data, error } = await supabase.rpc('registrar_usuario', {
|
||||
nome,
|
||||
empresa,
|
||||
|
||||
@ -294,6 +294,7 @@ export type Database = {
|
||||
empresa: string | null
|
||||
id: string
|
||||
nome: string
|
||||
remote_jid: string | null
|
||||
senha: string
|
||||
whatsapp: string
|
||||
}
|
||||
@ -303,6 +304,7 @@ export type Database = {
|
||||
empresa?: string | null
|
||||
id?: string
|
||||
nome: string
|
||||
remote_jid?: string | null
|
||||
senha: string
|
||||
whatsapp: string
|
||||
}
|
||||
@ -312,6 +314,7 @@ export type Database = {
|
||||
empresa?: string | null
|
||||
id?: string
|
||||
nome?: string
|
||||
remote_jid?: string | null
|
||||
senha?: string
|
||||
whatsapp?: string
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user