forgeplus/db/migrate/20211013081713_create_user_...

13 lines
299 B
Ruby

class CreateUserTemplateMessageSettings < ActiveRecord::Migration[5.2]
def change
# 用户对系统通知的设置
create_table :user_template_message_settings do |t|
t.references :user
t.text :notification_body
t.text :email_body
t.timestamps
end
end
end