Sha256: 53deb58f35f81c1595bd0280082a9af5e6e37507c9241d6390150afe3c9b4fe2

Contents?: true

Size: 554 Bytes

Versions: 8

Compression:

Stored size: 554 Bytes

Contents

class <%= class_name %> < ::RailsConnector::Migration
  def up
    # get_obj_class('Test')
    # create_obj_class(name: 'Test', type: :publication, attributes: [])
    # update_obj_class('Test', title: 'Test Title')
    # add_attribute_to('Test', { name: 'test', type: 'string' })
    # update_attribute_for('Test', 'test', { title: 'New Title' })
    # delete_attribute_from('Test', 'test')

    # get_obj('a1b2c3')
    # create_obj(_path: '/test', _obj_class: 'Test')
    # update_obj('a1b2c3', title: 'Test Title')
    # delete_obj('a1b2c3')
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
infopark_cloud_connector-7.1.0 lib/generators/cms/migration/templates/migration.erb
infopark_cloud_connector-7.0.2 lib/generators/cms/migration/templates/migration.erb
infopark_cloud_connector-7.0.1 lib/generators/cms/migration/templates/migration.erb
infopark_cloud_connector-7.0.0 lib/generators/cms/migration/templates/migration.erb
infopark_cloud_connector-6.9.5 lib/generators/cms/migration/templates/migration.rb
infopark_cloud_connector-6.9.4 lib/generators/cms/migration/templates/migration.rb
infopark_cloud_connector-6.9.3.1.36404185 lib/generators/cms/migration/templates/migration.rb
infopark_cloud_connector-6.9.2.1.125136549 lib/generators/cms/migration/templates/migration.rb