Merge branch 'kb_development' into kb_migration
This commit is contained in:
commit
c7fe057f92
40 changed files with 338 additions and 29 deletions
12
db/migrate/20230812083752_create_status_capability_token.rb
Normal file
12
db/migrate/20230812083752_create_status_capability_token.rb
Normal 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
|
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddLimitedScopeToStatuses < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :statuses, :limited_scope, :integer
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue