Sha256: 6ec09760ffd742d7cc438c97c5b7d9e661a1e0f441cc99eda1801537cdf634a3

Contents?: true

Size: 581 Bytes

Versions: 4

Compression:

Stored size: 581 Bytes

Contents

class CreateUnidomShipmentPackages < ActiveRecord::Migration

  def change

    create_table :unidom_shipment_packages, id: :uuid do |t|

      t.text :instruction
      t.text :description

      t.column   :state, 'char(1)', null: false, default: 'C'
      t.datetime :opened_at,        null: false, default: ::Time.utc(1970)
      t.datetime :closed_at,        null: false, default: ::Time.utc(3000)
      t.boolean  :defunct,          null: false, default: false
      t.jsonb    :notation,         null: false, default: {}

      t.timestamps null: false

    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
unidom-shipment-0.3.2 db/migrate/20021011000000_create_unidom_shipment_packages.rb
unidom-shipment-0.3.1 db/migrate/20021011000000_create_unidom_shipment_packages.rb
unidom-shipment-0.3 db/migrate/20021011000000_create_unidom_shipment_packages.rb
unidom-shipment-0.2 db/migrate/20021011000000_create_unidom_shipment_packages.rb