Sha256: abaf1184ae7a01c47823e7ceac91a1b812d39ed8fce309c1c0ce1037555ca17a

Contents?: true

Size: 268 Bytes

Versions: 4

Compression:

Stored size: 268 Bytes

Contents

class RemoteModelMigration < Migration
  def self.up(site)
    site.record_proxy_pages.create_model :remotes_page do |remotes_pages|
      remotes_pages.record_class_name = 'RemotesPage'
    end
  end
  
  def self.down(site)
    sites.remotes_pages.destroy
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yodel_development_environment-0.0.7 lib/migrations/site/02_remotes_page_model.rb
yodel_development_environment-0.0.4 lib/migrations/site/02_remotes_page_model.rb
yodel_development_environment-0.0.2 lib/migrations/site/02_remotes_page_model.rb
yodel_development_environment-0.0.1 lib/migrations/site/02_remotes_page_model.rb