diff --git a/internal/database/schema.json b/internal/database/schema.json index b4ef2c48526..b2ba4575427 100644 --- a/internal/database/schema.json +++ b/internal/database/schema.json @@ -28586,19 +28586,6 @@ "GenerationExpression": "", "Comment": "" }, - { - "Name": "searchable", - "Index": 19, - "TypeName": "boolean", - "IsNullable": false, - "Default": "true", - "CharacterMaximumLength": 0, - "IsIdentity": false, - "IdentityGeneration": "", - "IsGenerated": "NEVER", - "GenerationExpression": "", - "Comment": "" - }, { "Name": "site_admin", "Index": 12, diff --git a/internal/database/schema.md b/internal/database/schema.md index 3ff1da9aef5..e15b0abb3b9 100644 --- a/internal/database/schema.md +++ b/internal/database/schema.md @@ -4349,7 +4349,6 @@ Foreign-key constraints: billing_customer_id | text | | | invalidated_sessions_at | timestamp with time zone | | not null | now() tos_accepted | boolean | | not null | false - searchable | boolean | | not null | true completions_quota | integer | | | code_completions_quota | integer | | | completed_post_signup | boolean | | not null | false diff --git a/migrations/frontend/1707759188_drop_user_searchable/down.sql b/migrations/frontend/1707759188_drop_user_searchable/down.sql new file mode 100644 index 00000000000..f10d4007b08 --- /dev/null +++ b/migrations/frontend/1707759188_drop_user_searchable/down.sql @@ -0,0 +1 @@ +ALTER TABLE users ADD COLUMN IF NOT EXISTS searchable boolean DEFAULT true NOT NULL; diff --git a/migrations/frontend/1707759188_drop_user_searchable/metadata.yaml b/migrations/frontend/1707759188_drop_user_searchable/metadata.yaml new file mode 100644 index 00000000000..de6cdda471f --- /dev/null +++ b/migrations/frontend/1707759188_drop_user_searchable/metadata.yaml @@ -0,0 +1,2 @@ +name: drop_user_searchable +parents: [1706629467, 1706710430] diff --git a/migrations/frontend/1707759188_drop_user_searchable/up.sql b/migrations/frontend/1707759188_drop_user_searchable/up.sql new file mode 100644 index 00000000000..fac47d0b097 --- /dev/null +++ b/migrations/frontend/1707759188_drop_user_searchable/up.sql @@ -0,0 +1 @@ +ALTER TABLE users DROP COLUMN IF EXISTS searchable; diff --git a/migrations/frontend/squashed.sql b/migrations/frontend/squashed.sql index e90d685b8b2..95f669c044e 100644 --- a/migrations/frontend/squashed.sql +++ b/migrations/frontend/squashed.sql @@ -4196,7 +4196,6 @@ CREATE TABLE users ( billing_customer_id text, invalidated_sessions_at timestamp with time zone DEFAULT now() NOT NULL, tos_accepted boolean DEFAULT false NOT NULL, - searchable boolean DEFAULT true NOT NULL, completions_quota integer, code_completions_quota integer, completed_post_signup boolean DEFAULT false NOT NULL,