Sha256: c0df3bd09204714585c59d2746976b732adf8c2921896ba681260b84fe480924
Contents?: true
Size: 787 Bytes
Versions: 19
Compression:
Stored size: 787 Bytes
Contents
namespace :cms do desc 'Migrate the CMS' task :migrate => :environment do RailsConnector::Migrations::Migrator.new.migrate end namespace :migrate do desc 'Publish the CMS migration workspace' task :publish => :environment do begin RailsConnector::Migrations::Migrator.new.publish puts 'Migration workspace published.' rescue RailsConnector::RailsConnectorError => exception puts exception.message end end desc 'Delete the CMS migration workspace' task :abort => :environment do begin RailsConnector::Migrations::Migrator.new.abort puts 'Migration workspace deleted.' rescue RailsConnector::RailsConnectorError => exception puts exception.message end end end end
Version data entries
19 entries across 19 versions & 1 rubygems