mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:31:48 +00:00
codeintel: Remove unused filter column (#43806)
This commit is contained in:
parent
736a5626cd
commit
f282072cca
@ -13248,19 +13248,6 @@
|
||||
"GenerationExpression": "",
|
||||
"Comment": "The identifier of the upload that references the package."
|
||||
},
|
||||
{
|
||||
"Name": "filter",
|
||||
"Index": 5,
|
||||
"TypeName": "bytea",
|
||||
"IsNullable": true,
|
||||
"Default": "",
|
||||
"CharacterMaximumLength": 0,
|
||||
"IsIdentity": false,
|
||||
"IdentityGeneration": "",
|
||||
"IsGenerated": "NEVER",
|
||||
"GenerationExpression": "",
|
||||
"Comment": "A [bloom filter](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@3.23/-/blob/enterprise/internal/codeintel/bloomfilter/bloom_filter.go#L27:6) encoded as gzipped JSON. This bloom filter stores the set of identifiers imported from the package."
|
||||
},
|
||||
{
|
||||
"Name": "id",
|
||||
"Index": 1,
|
||||
|
||||
@ -1974,7 +1974,6 @@ Associates an upload with the set of packages they provide within a given packag
|
||||
scheme | text | | not null |
|
||||
name | text | | not null |
|
||||
version | text | | |
|
||||
filter | bytea | | |
|
||||
dump_id | integer | | not null |
|
||||
Indexes:
|
||||
"lsif_references_pkey" PRIMARY KEY, btree (id)
|
||||
@ -1989,8 +1988,6 @@ Associates an upload with the set of packages they require within a given packag
|
||||
|
||||
**dump_id**: The identifier of the upload that references the package.
|
||||
|
||||
**filter**: A [bloom filter](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@3.23/-/blob/enterprise/internal/codeintel/bloomfilter/bloom_filter.go#L27:6) encoded as gzipped JSON. This bloom filter stores the set of identifiers imported from the package.
|
||||
|
||||
**name**: The package name.
|
||||
|
||||
**scheme**: The (import) moniker scheme.
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
ALTER TABLE
|
||||
lsif_references
|
||||
ADD
|
||||
COLUMN IF NOT EXISTS filter bytea;
|
||||
@ -0,0 +1,2 @@
|
||||
name: Remove filter from lsif_references
|
||||
parents: [1667313173]
|
||||
@ -0,0 +1,2 @@
|
||||
ALTER TABLE
|
||||
lsif_references DROP COLUMN IF EXISTS filter;
|
||||
@ -2749,7 +2749,6 @@ CREATE TABLE lsif_references (
|
||||
scheme text NOT NULL,
|
||||
name text NOT NULL,
|
||||
version text,
|
||||
filter bytea,
|
||||
dump_id integer NOT NULL
|
||||
);
|
||||
|
||||
@ -2761,8 +2760,6 @@ COMMENT ON COLUMN lsif_references.name IS 'The package name.';
|
||||
|
||||
COMMENT ON COLUMN lsif_references.version IS 'The package version.';
|
||||
|
||||
COMMENT ON COLUMN lsif_references.filter IS 'A [bloom filter](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@3.23/-/blob/enterprise/internal/codeintel/bloomfilter/bloom_filter.go#L27:6) encoded as gzipped JSON. This bloom filter stores the set of identifiers imported from the package.';
|
||||
|
||||
COMMENT ON COLUMN lsif_references.dump_id IS 'The identifier of the upload that references the package.';
|
||||
|
||||
CREATE SEQUENCE lsif_references_id_seq
|
||||
|
||||
Loading…
Reference in New Issue
Block a user