You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/15158.down

12 lines
383 B

SET AUTOCOMMIT=0;
USE billing;
ALTER TABLE journals CHANGE operation type ENUM('create','update','delete') NOT NULL DEFAULT 'create';
ALTER TABLE journals CHANGE resource_name resource VARCHAR(64) NOT NULL;
ALTER TABLE journals DROP username;
ALTER TABLE journals DROP content_format;
ALTER TABLE journals DROP KEY op_idx;
ALTER TABLE journals ADD KEY `type_idx` (`type`);
COMMIT;