Class: Prick::MigrationRelease

Inherits:
AbstractRelease show all
Defined in:
lib/prick/build.rb

Instance Attribute Summary

Attributes inherited from AbstractRelease

#archive, #node

Attributes inherited from Build

#database, #migration, #project, #schema, #version

Instance Method Summary collapse

Methods inherited from AbstractRelease

#<=>, #cache, #cached?, #dump, #initialize, #load, #loaded?, #prepare, #release_dir, #tag, #uncache, #unload

Methods inherited from Build

#<=>, #active?, #base_release, #build, #built?, #checkback, #checkout, deref_node_file, #destroy, #exist?, #features, #history, #initialize, #name, #node, #present?, #rebuild, #remove_feature, #snapshot, #to_s

Methods included from Ensure

#ensure_state, #ensure_state_value, #revoke_state

Constructor Details

This class inherits a constructor from Prick::AbstractRelease

Instance Method Details

#createObject



305
306
307
308
309
# File 'lib/prick/build.rb', line 305

def create
  # does not call super because migrations belong to the release they migrate to
  #
  # code, code, code
end

#include_featureObject

Raises:



311
312
313
# File 'lib/prick/build.rb', line 311

def include_feature
  raise NotYet
end