mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 13:08:17 -05:00
This commit is contained in:
parent
39f9f15bd4
commit
0f7e8dc806
@ -11,7 +11,7 @@ LANGUAGE 'plpgsql'
|
||||
AS
|
||||
$BODY$
|
||||
DECLARE
|
||||
email_like_search VARCHAR(55) = _email || '%';
|
||||
email_like_search VARCHAR(261) = _email || '%';
|
||||
|
||||
BEGIN
|
||||
RETURN QUERY
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
CREATE TABLE IF NOT EXISTS installation (
|
||||
id UUID NOT NULL,
|
||||
email VARCHAR (50) NOT NULL,
|
||||
email VARCHAR (256) NOT NULL,
|
||||
key VARCHAR (150) NOT NULL,
|
||||
enabled BIT NOT NULL,
|
||||
creation_date TIMESTAMPTZ NOT NULL,
|
||||
|
@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS organization (
|
||||
business_address_3 VARCHAR (50) NULL,
|
||||
business_country VARCHAR (2) NULL,
|
||||
business_tax_number VARCHAR (30) NULL,
|
||||
billing_email VARCHAR (50) NOT NULL,
|
||||
billing_email VARCHAR (256) NOT NULL,
|
||||
plan VARCHAR (50) NOT NULL,
|
||||
plan_type SMALLINT NOT NULL,
|
||||
seats SMALLINT NULL,
|
||||
|
@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS organization_user (
|
||||
id UUID NOT NULL,
|
||||
organization_id UUID NOT NULL,
|
||||
user_id UUID NULL,
|
||||
email VARCHAR (50) NULL,
|
||||
email VARCHAR (256) NULL,
|
||||
key TEXT NULL,
|
||||
status SMALLINT NOT NULL,
|
||||
type SMALLINT NOT NULL,
|
||||
|
@ -3,7 +3,7 @@
|
||||
CREATE TABLE "user" (
|
||||
id UUID NOT NULL,
|
||||
name VARCHAR (50) NULL,
|
||||
email VARCHAR (50) NOT NULL,
|
||||
email VARCHAR (256) NOT NULL,
|
||||
email_verified BOOLEAN NOT NULL,
|
||||
master_password VARCHAR (300) NOT NULL,
|
||||
master_password_hint VARCHAR (50) NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user