-
Notifications
You must be signed in to change notification settings - Fork 0
/
dash-7-cleanup.sql
38 lines (29 loc) · 2.08 KB
/
dash-7-cleanup.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
mysql -h localhost -u admin -padmin;
use `dash-7.dev`;
drop table field_data_field_dash_item_password;
drop table field_revision_field_dash_item_password;
DELETE FROM `dash-7.dev`.`field_config` WHERE `field_config`.`field_name` = 'field_dash_item_password';
drop table field_revision_field_dash_item_url;
drop table field_revision_field_dash_item_user;
/*
drush $sitealias dis dash -y
drush $sitealias pm-uninstall dash -y
drush @local.dash-7.dev sqlq "DELETE FROM `dash-7.dev`.`field_config` WHERE `field_config`.`field_name` = dash_item_path"
drush @local.dash-7.dev sqlq "DROP TABLE field_data_dash_item_path"
drush @local.dash-7.dev sqlq "DROP TABLE field_revision_data_dash_item_path"
drush @local.dash-7.dev sqlq "DELETE FROM `dash-7.dev`.`field_config` WHERE `field_config`.`field_name` = dash_item_userauth"
drush @local.dash-7.dev sqlq "DROP TABLE field_data_dash_item_userauth"
drush @local.dash-7.dev sqlq "DROP TABLE field_revision_data_dash_item_userauth"
drush @local.dash-7.dev sqlq "DELETE FROM `dash-7.dev`.`field_config` WHERE `field_config`.`field_name` = dash_item_username"
drush @local.dash-7.dev sqlq "DROP TABLE field_data_dash_item_username"
drush @local.dash-7.dev sqlq "DROP TABLE field_revision_data_dash_item_username"
drush @local.dash-7.dev sqlq "DELETE FROM `dash-7.dev`.`field_config` WHERE `field_config`.`field_name` = field_dash_item_password"
drush @local.dash-7.dev sqlq "DROP TABLE field_data_field_dash_item_password"
drush @local.dash-7.dev sqlq "DROP TABLE field_revision_data_field_dash_item_password"
drush @local.dash-7.dev sqlq "DELETE FROM `dash-7.dev`.`field_config` WHERE `field_config`.`field_name` = field_dash_item_url"
drush @local.dash-7.dev sqlq "DROP TABLE field_data_field_dash_item_url"
drush @local.dash-7.dev sqlq "DROP TABLE field_revision_data_field_dash_item_url"
drush @local.dash-7.dev sqlq "DELETE FROM `dash-7.dev`.`field_config` WHERE `field_config`.`field_name` = field_dash_item_user"
drush @local.dash-7.dev sqlq "DROP TABLE field_data_field_dash_item_user"
drush @local.dash-7.dev sqlq "DROP TABLE field_revision_data_field_dash_item_user"
*/