Sha256: 513d7afd988588a6820b632b122ab9a1604129c71f9dd26164522c41dec534af

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

Sequel.migration do
  change do
    create_table :status_checks do
      primary_key :id
      String :type, nullable: false
      String :name, nullable: false
      String :source, nullable: false
      String :required_value, nullable: true, default: nil
      Integer :order, nullable: false, default: 1
      DateTime :created_at, default: Sequel::CURRENT_TIMESTAMP
      DateTime :updated_at, default: Sequel::CURRENT_TIMESTAMP
      unique [:name]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
proxes-0.10.1 migrate/20190109_add_status_checks_table.rb