Sha256: 56d2a0f6c2851b8065c6900208bbab27083eee65a69a3e7d9f463b38fd79da32

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

class CreateInvalid<%= @data[:classname_downcase] %> < ActiveRecord::Migration
  def self.up
    create_table :invalid<%= @data[:plural] %> do |t|
      t.column :org_id, :int, :null => false
      t.column :end_datetime, :datetime, :null => true
    end
  end

  def self.down
    drop_table :invalid<%= @data[:plural] %>
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arxutils-0.1.31 lib/template/invalid.tmpl