2016-02-23 06:37:13 +01:00
|
|
|
ALTER TABLE Messages
|
|
|
|
ADD COLUMN is_pdeleted INTEGER(1) NOT NULL DEFAULT 0 CHECK (is_pdeleted >= 0 AND is_pdeleted <= 1);
|
|
|
|
-- !
|
2014-10-27 16:27:19 +01:00
|
|
|
UPDATE Information SET inf_value = '2' WHERE inf_key = 'schema_version';
|