Sha256: 9e982903073a30e0a53387e83514e0eb975b6b85e0db17dd493bec90f6f0cf7b
Contents?: true
Size: 709 Bytes
Versions: 8
Compression:
Stored size: 709 Bytes
Contents
require 'skr/db/migration_helpers' class CreateSkrGlPostings < ActiveRecord::Migration def change create_skr_table "gl_postings" do |t| t.skr_reference :gl_transaction, single: true t.string "account_number", null: false t.skr_currency "amount", null: false t.boolean "is_debit", null: false t.integer "year", null: false, limit: 2 t.integer "period", null: false, limit: 2 t.skr_track_modifications create_only: true # since it can't be updated end skr_add_index :gl_postings, [:period,:year,:account_number] end end
Version data entries
8 entries across 8 versions & 1 rubygems