Sha256: bd926db3c307d129287d1b734df30ce911211809cb69f650f6d7cc27d5310fae

Contents?: true

Size: 762 Bytes

Versions: 4

Compression:

Stored size: 762 Bytes

Contents

# frozen_string_literal: true

Sequel.migration do
  change do
    create_table :permits do
      primary_key :id
      column :agent_type,       String, size: 100, null: false
      column :agent_id,         String, size: 100, null: false
      column :agent_token,      String, size: 201, null: false
      column :credential_type,  String, size: 100, null: false
      column :credential_id,    String, size: 100, null: false
      column :credential_token, String, size: 201, null: false
      column :resource_type,    String, size: 100, null: false
      column :resource_id,      String, size: 100, null: false
      column :resource_token,   String, size: 201, null: false
      column :zone_id,          String, size: 100, null: false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
checkpoint-1.0.3 db/migrations/1_create_permits.rb
checkpoint-1.0.2 db/migrations/1_create_permits.rb
checkpoint-1.0.1 db/migrations/1_create_permits.rb
checkpoint-1.0.0 db/migrations/1_create_permits.rb