-- vn.accountingConfig ALTER TABLE vn.accountingConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.accountingConfig ADD CONSTRAINT accountingConfig_check CHECK (id = 1); -- vn.auctionConfig ALTER TABLE vn.auctionConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.auctionConfig ADD CONSTRAINT auctionConfig_check CHECK (id = 1); -- vn.autoRadioConfig ALTER TABLE vn.autoRadioConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.autoRadioConfig ADD CONSTRAINT autoRadioConfig_check CHECK (id = 1); -- vn.bankEntityConfig ALTER TABLE vn.bankEntityConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.bankEntityConfig ADD CONSTRAINT bankEntityConfig_check CHECK (id = 1); -- vn.bionicConfig ALTER TABLE vn.bionicConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.bionicConfig ADD CONSTRAINT bionicConfig_check CHECK (id = 1); -- vn.buyConfig ALTER TABLE vn.buyConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.buyConfig ADD CONSTRAINT buyConfig_check CHECK (id = 1); -- vn.chatConfig ALTER TABLE vn.chatConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.chatConfig ADD CONSTRAINT chatConfig_check CHECK (id = 1); -- vn.claimConfig ALTER TABLE vn.claimConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.claimConfig ADD CONSTRAINT claimConfig_check CHECK (id = 1); -- vn.clientConfig ALTER TABLE vn.clientConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.clientConfig ADD CONSTRAINT clientConfig_check CHECK (id = 1); -- vn.comparativeAddConfig ALTER TABLE vn.comparativeAddConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.comparativeAddConfig ADD CONSTRAINT comparativeAddConfig_check CHECK (id = 1); -- vn.comparativeConfig ALTER TABLE vn.comparativeConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.comparativeConfig ADD CONSTRAINT comparativeConfig_check CHECK (id = 1); -- vn.config ALTER TABLE vn.config MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.config ADD CONSTRAINT config_check CHECK (id = 1); -- vn.conveyorConfig (Tiene más de 1 registro en producción) -- ALTER TABLE vn.conveyorConfig MODIFY COLUMN id int(10) unsigned NOT NULL; -- ALTER TABLE vn.conveyorConfig ADD CONSTRAINT conveyorConfig_check CHECK (id = 1); -- vn.deviceProductionConfig ALTER TABLE vn.deviceProductionConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.deviceProductionConfig ADD CONSTRAINT deviceProductionConfig_check CHECK (id = 1); -- vn.docuwareConfig ALTER TABLE vn.docuwareConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.docuwareConfig ADD CONSTRAINT docuwareConfig_check CHECK (id = 1); -- vn.floramondoConfig ALTER TABLE vn.floramondoConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.floramondoConfig ADD CONSTRAINT floramondoConfig_check CHECK (id = 1); -- vn.franceExpressConfig ALTER TABLE vn.franceExpressConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.franceExpressConfig ADD CONSTRAINT franceExpressConfig_check CHECK (id = 1); -- vn.glsConfig ALTER TABLE vn.glsConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.glsConfig ADD CONSTRAINT glsConfig_check CHECK (id = 1); -- vn.greugeConfig ALTER TABLE vn.greugeConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.greugeConfig ADD CONSTRAINT greugeConfig_check CHECK (id = 1); -- vn.inventoryConfig ALTER TABLE vn.inventoryConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.inventoryConfig ADD CONSTRAINT inventoryConfig_check CHECK (id = 1); -- vn.invoiceInConfig ALTER TABLE vn.invoiceInConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.invoiceInConfig ADD CONSTRAINT invoiceInConfig_check CHECK (id = 1); -- vn.invoiceOutConfig ALTER TABLE vn.invoiceOutConfig MODIFY COLUMN id int(10) unsigned NOT NULL; ALTER TABLE vn.invoiceOutConfig ADD CONSTRAINT invoiceOutConfig_check CHECK (id = 1);