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