Skip to content

Instantly share code, notes, and snippets.

@bauhouse
Created April 6, 2010 21:31
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 bauhouse/358153 to your computer and use it in GitHub Desktop.
Save bauhouse/358153 to your computer and use it in GitHub Desktop.
Truncate Symphony CMS MySQL tables for sections and fields
TRUNCATE TABLE `sym_fields`;
TRUNCATE TABLE `sym_fields_author`;
TRUNCATE TABLE `sym_fields_checkbox`;
TRUNCATE TABLE `sym_fields_date`;
TRUNCATE TABLE `sym_fields_input`;
TRUNCATE TABLE `sym_fields_member`;
TRUNCATE TABLE `sym_fields_memberlink`;
TRUNCATE TABLE `sym_fields_memberrole`;
TRUNCATE TABLE `sym_fields_number`;
TRUNCATE TABLE `sym_fields_select`;
TRUNCATE TABLE `sym_fields_selectbox_link`;
TRUNCATE TABLE `sym_fields_taglist`;
TRUNCATE TABLE `sym_fields_textarea`;
TRUNCATE TABLE `sym_fields_upload`;
TRUNCATE TABLE `sym_sections`;
TRUNCATE TABLE `sym_sections_association`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment