Sha256: e6b1c9839e08b5afbd1d852647ca835c5a4775cc2ce9ba11afc52657da85ce55

Contents?: true

Size: 351 Bytes

Versions: 18

Compression:

Stored size: 351 Bytes

Contents

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

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
arxutils_sqlite3-0.1.57 lib/template/acrecord/invalid.tmpl
arxutils_sqlite3-0.1.56 lib/template/acrecord/invalid.tmpl
arxutils_sqlite3-0.1.55 lib/template/acrecord/invalid.tmpl
arxutils_sqlite3-0.1.54 lib/template/acrecord/invalid.tmpl
arxutils_sqlite3-0.1.53 lib/template/acrecord/invalid.tmpl
arxutils_sqlite3-0.1.52 lib/template/acrecord/invalid.tmpl
arxutils_sqlite3-0.1.51 lib/template/acrecord/invalid.tmpl
arxutils_sqlite3-0.1.50 lib/template/acrecord/invalid.tmpl
arxutils_sqlite3-0.1.49 lib/template/acrecord/invalid.tmpl
arxutils_sqlite3-0.1.48 lib/template/relation/invalid.tmpl
arxutils_sqlite3-0.1.47 lib/template/relation/invalid.tmpl
arxutils_sqlite3-0.1.45 lib/template/relation/invalid.tmpl
arxutils_sqlite3-0.1.44 lib/template/relation/invalid.tmpl
arxutils_sqlite3-0.1.43 lib/template/relation/invalid.tmpl
arxutils_sqlite3-0.1.40 lib/template/relation/invalid.tmpl
arxutils_sqlite3-0.1.39 lib/template/relation/invalid.tmpl
arxutils_sqlite3-0.1.38 lib/template/relation/invalid.tmpl
arxutils_sqlite3-0.1.37 lib/template/relation/invalid.tmpl