Merge branch 'kb_development' into kb_migration

This commit is contained in:
KMY 2023-08-13 19:05:32 +09:00
commit c7fe057f92
40 changed files with 338 additions and 29 deletions

View file

@ -0,0 +1,12 @@
# frozen_string_literal: true
class CreateStatusCapabilityToken < ActiveRecord::Migration[7.0]
def change
create_table :status_capability_tokens do |t|
t.belongs_to :status, null: false, foreign_key: { on_delete: :cascade }
t.string :token
t.datetime :created_at, null: false
t.datetime :updated_at, null: false
end
end
end

View file

@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddLimitedScopeToStatuses < ActiveRecord::Migration[7.0]
def change
add_column :statuses, :limited_scope, :integer
end
end