Sha256: 63aedd4714210c2a98bd3c50386a5ce4558b2e139796dc3ad8b8aabf7b10eaa8

Contents?: true

Size: 494 Bytes

Versions: 4

Compression:

Stored size: 494 Bytes

Contents

require 'skr/db/migration_helpers'

class CreateCustomerProject < ActiveRecord::Migration
    def change
        create_skr_table :customer_projects do |t|
            t.skr_code_identifier
            t.text :name, :description, :po_num
            t.skr_reference :sku,      single: true
            t.skr_reference :customer, single: true
            t.string :invoice_form
            t.jsonb :rates
            t.jsonb :options
            t.timestamps null: false
        end
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stockor-0.5.0 db/migrate/20140327214000_create_customer_project.rb
stockor-0.4.0 db/migrate/20140327214000_create_customer_project.rb
stockor-0.3.0 db/migrate/20140327214000_create_customer_project.rb
stockor-0.2 db/migrate/20140327214000_create_customer_project.rb