Sha256: 92fc01760864bc0aa85626d8b75f4d894bbca120618207b2762a08a1d3a8adac

Contents?: true

Size: 212 Bytes

Versions: 2

Compression:

Stored size: 212 Bytes

Contents

class <%= migration_class_name %> < Nando::<%= migration_type %>
  def up
    execute <<-'SQL'
<%= migration_up_code %>
    SQL
  end

  def down
    execute <<-'SQL'
<%= migration_down_code %>
    SQL
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nando-1.1.0 lib/nando/parser_templates/migration.rb
nando-1.0.6 lib/nando/parser_templates/migration.rb