Skip to content

Instantly share code, notes, and snippets.

@rjjohnpatrickcruz
Created December 11, 2015 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjjohnpatrickcruz/2a515327eb033e9aeb22 to your computer and use it in GitHub Desktop.
Save rjjohnpatrickcruz/2a515327eb033e9aeb22 to your computer and use it in GitHub Desktop.
alter table cashier_collection add column remittance_type_id int(11) not null after agent_id;
CREATE TABLE `remittance_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`status` int(1) DEFAULT '1',
`ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
insert into remittance_type(name) values ('DSP Remittance'), ('AR Remittance');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment