You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
desc'Synchronize your remote database using local database data'
15
16
task:syncdo
16
17
onroles(:db)do
18
+
raise"pushing is disabled, set disallow_pushing to false to carry out this operation"iffetch(:disallow_pushing)
17
19
iffetch(:skip_data_sync_confirm) || Util.prompt('Are you sure you want to REPLACE THE REMOTE DATABASE with local database')
18
20
Database.local_to_remote(self)
19
21
end
@@ -46,6 +48,7 @@
46
48
task:syncdo
47
49
onroles(:app)do
48
50
puts"Assets directories: #{fetch(:assets_dir)}"
51
+
raise"pushing is disabled, set disallow_pushing to false to carry out this operation"iffetch(:disallow_pushing)
49
52
iffetch(:skip_data_sync_confirm) || Util.prompt("Are you sure you want to erase your server assets with local assets")
50
53
Asset.local_to_remote(self)
51
54
end
@@ -76,6 +79,7 @@
76
79
namespace:remotedo
77
80
desc'Synchronize your remote assets AND database using local assets and database'
78
81
task:syncdo
82
+
raise"pushing is disabled, set disallow_pushing to false to carry out this operation"iffetch(:disallow_pushing)
79
83
iffetch(:skip_data_sync_confirm) || Util.prompt("Are you sure you want to REPLACE THE REMOTE DATABASE AND your remote assets with local database and assets(#{fetch(:assets_dir)})")
80
84
onroles(:db)do
81
85
Database.local_to_remote(self)
@@ -110,4 +114,4 @@
110
114
111
115
desc'Synchronize your remote assets AND database using local assets and database'
0 commit comments