Files
ubicloud/migrate/20230721_pages.rb
Burak Yucesoy 4348562447 Introduce Page model
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.
2023-07-21 13:43:08 +02:00

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