, :
BEGIN;
CREATE TABLE Customer_new (
[...],
CHECK ([...])
);
INSERT INTO Customer_new SELECT * FROM Customer;
DROP TABLE Customer;
ALTER TABLE Customer_new RENAME TO Customer;
COMMIT;
, .schema Customer sqlite3 .
CREATE TABLE, .
, .
( , .schema):
SELECT sql FROM sqlite_master WHERE type = 'table' AND name = 'Customer';
CHECK , sqlite_master PRAGMA writable_schema = 1; :
UPDATE sqlite_master SET sql='...' WHERE type='table' AND name='Customer';
.
. , . - , (, / , ), .