Sha256: e32e76abeaa346e2d3e27b94302691c6c7d24fb951e085568bfc3702fa794c9d

Contents?: true

Size: 665 Bytes

Versions: 25

Compression:

Stored size: 665 Bytes

Contents

class CreateUnidomPermissions < ActiveRecord::Migration

  def change

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

      t.string :name, null: false, default: '',  limit: 200
      t.string :path, null: true,  default: nil, limit: 200

      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

25 entries across 25 versions & 1 rubygems

Version Path
unidom-authorization-1.6.9 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.6.8 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.6.7 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.6.6 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.6.5 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.6.4 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.6.3 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.6.2 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.6.1 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.6 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.5 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.4.5 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.4.4 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.4.3 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.4.2 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.4.1 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.4 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.3 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.2.2 db/migrate/20000401000000_create_unidom_permissions.rb
unidom-authorization-1.2.1 db/migrate/20000401000000_create_unidom_permissions.rb