Skip to content

Instantly share code, notes, and snippets.

@zr0n
Created December 11, 2015 18:48
Show Gist options
  • Save zr0n/9a4727fbc7dda8aef2ec to your computer and use it in GitHub Desktop.
Save zr0n/9a4727fbc7dda8aef2ec to your computer and use it in GitHub Desktop.
INSERT INTO `mdl_coursemetadata_info_field` (`id`, `shortname`, `name`, `datatype`, `description`, `descriptionformat`, `categoryid`, `sortorder`, `required`, `locked`, `visible`, `forceunique`, `defaultdata`, `defaultdataformat`, `param1`, `param2`, `param3`, `param4`, `param5`)
VALUES
(7, 'paid', 'Pago: ', 'menu', 'Indica se o curso é pago ou não', 0, 1, 0, 0, 0, 0, 0, 'Não', 0, 'Sim\nNão', NULL, NULL, NULL, NULL),
(8, 'price', 'Preço: ', 'text', 'Indica o preço do curso pago. Ex: R$350,00 ', 0, 1, 0, 0, 0, 0, 0, NULL, 0, NULL, NULL, NULL, NULL, NULL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment