Actions
DrushTricks » History » Revision 3
« Previous |
Revision 3/18
(diff)
| Next »
Andreas Kohlbecker, 06/21/2013 11:36 PM
Useful Drush tricks¶
What is drush? see here :http://drush.ws/about
All tips and tricks account to Drupal 7!
Template for new entries:
admin/foo/bar
drush command:
drush lorem ipsum val_1
values:
- val_1: foo
- val_2: bar
}}}
error level¶
admin menu equivalent:
admin/config/development/logging
drush command:
drush vset -y error_level <value>
values:
- 0: none
- 1: errors and warnings
- 2: all
clean urls¶
admin menu equivalent:
admin/config/development/logging
drush command:
drush vset clean_url -y <val>
values:
- 0: off
- 1: on
reset cdm_dataportal schema version¶
This allows running an update again even if the update function already has been executed in the past.
- drush command:
drush sql-query --db-prefix "UPDATE {system} SET schema_version=<version> WHERE name='cdm_dataportal' and type='module';"
Updated by Andreas Kohlbecker almost 11 years ago · 3 revisions