This commit introduces simple page model. At the moment, we are not concerning about page's content. It only has a summary column as content. Our motivation right now is providing enough baseline for deadline infrastructure. After that it is possible to enrich the content of the pages to provide more information to on-call engineers.
13 lines
338 B
Ruby
13 lines
338 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
create_table(:page) do
|
|
column :id, :uuid, primary_key: true, default: nil
|
|
column :created_at, :timestamptz, null: false, default: Sequel::CURRENT_TIMESTAMP
|
|
column :resolved_at, :timestamptz
|
|
column :summary, :text, collate: '"C"'
|
|
end
|
|
end
|
|
end
|