fedibird-fe/db/migrate/20221215211405_create_push_subscription_blocks.rb
2023-02-06 16:28:36 +09:00

11 lines
304 B
Ruby

class CreatePushSubscriptionBlocks < ActiveRecord::Migration[6.1]
def change
create_table :push_subscription_blocks do |t|
t.string :name, null: false, default: ''
t.string :endpoint, null: false
t.boolean :enable, null: false, default: true
t.timestamps
end
end
end