Sha256: 1e109da594cad787f2eb8424978901b12bbf10ce0375708c79302aa090975ac9

Contents?: true

Size: 511 Bytes

Versions: 4

Compression:

Stored size: 511 Bytes

Contents

Sequel.migration do
  change do
    create_table(:environments, charset: 'utf8') do
      primary_key :id
      String :uuid, nullable: false
      String :name, nullable: false
      String :display_name
      Boolean :production, nullable: false
      String :contacts
      DateTime :created_at, nullable: false
      DateTime :updated_at, nullable: false
      index [:uuid], unique: true, name: "environments_uuid_index"
      index [:name], unique: true, name: "environments_name_index"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pact_broker-2.79.1 db/migrations/20210210_create_environments_table.rb
pact_broker-2.79.0 db/migrations/20210210_create_environments_table.rb
pact_broker-2.78.1 db/migrations/20210210_create_environments_table.rb
pact_broker-2.78.0 db/migrations/20210210_create_environments_table.rb