This should have been done long ago. Now it is being done. This also changes ar_text_id to NOT NULL, since it should never be null anymore, and DEFAULT 0 in preparation for MCR stopping writing it. Bug: T33223 Change-Id: I18f1c740b7537c7dc3cfeba9b241d0a9f31caa34
8 lines
257 B
SQL
8 lines
257 B
SQL
-- T33223: Remove obsolete ar_text and ar_flags columns
|
|
-- (and make ar_text_id not nullable and default 0)
|
|
|
|
ALTER TABLE archive
|
|
DROP COLUMN ar_text,
|
|
DROP COLUMN ar_flags,
|
|
ALTER COLUMN ar_text_id SET DEFAULT 0;
|
|
ALTER COLUMN ar_text_id SET NOT NULL;
|