mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
Drop unused users.searchable DB column (#60429)
We stopped using this over a release ago, so we can now safely drop it from the schema. ## Test plan Backcompat tests.
This commit is contained in:
parent
17b3519780
commit
8e250b408b
@ -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,
|
||||
|
||||
@ -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
|
||||
|
||||
@ -0,0 +1 @@
|
||||
ALTER TABLE users ADD COLUMN IF NOT EXISTS searchable boolean DEFAULT true NOT NULL;
|
||||
@ -0,0 +1,2 @@
|
||||
name: drop_user_searchable
|
||||
parents: [1706629467, 1706710430]
|
||||
@ -0,0 +1 @@
|
||||
ALTER TABLE users DROP COLUMN IF EXISTS searchable;
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user