Sha256: 13bda14734f04345844d24f23134306e7fb86d7b0663578a67f056fe76fdc007
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
=begin Copyright (c) 2020, all rights reserved. All the information provided by this platform is protected by international laws related to industrial property, intellectual property, copyright and relative international laws. All intellectual or industrial property rights of the code, texts, trade mark, design, pictures and any other information belongs to the owner of this platform. Without the written permission of the owner, any replication, modification, transmission, publication is strictly forbidden. For more information read the license file including with this software. // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ // · =end class CreateLesliBellNotifications < ActiveRecord::Migration[7.0] def change create_table :lesli_bell_notifications do |t| t.string :subject t.text :body t.string :url t.string :status t.string :category t.string :channel t.string :notification_type t.string :media t.json :payload t.timestamps t.datetime :deleted_at, index: true end add_reference(:lesli_bell_notifications, :user, foreign_key: { to_table: :lesli_users }) add_reference(:lesli_bell_notifications, :account, foreign_key: { to_table: :lesli_accounts }) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lesli_bell-0.1.0 | db/migrate/v1.0/0308100110_create_lesli_bell_notifications.rb |