Sha256: 8d129cbbc76c6c426e44cbb3460d4423e2148ba95c599ba0045408ebeba0e7d3
Contents?: true
Size: 427 Bytes
Versions: 1
Compression:
Stored size: 427 Bytes
Contents
class CreateWcCodes < ActiveRecord::Migration def self.up unless table_exists?(:wc_codes) create_table :wc_codes do |t| t.integer :party_id t.string :wc_code t.string :description t.string :internal_identifier t.text :custom_fields t.timestamps end end end def self.down if table_exists?(:wc_codes) drop_table :wc_codes end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
erp_work_effort-4.2.0 | db/migrate/20150305194158_create_wc_codes.rb |