Sha256: 14b30e36a7b86e553cdbf9275ea01bad6f4480d1fec02a24bbe24849fed1d37a
Contents?: true
Size: 524 Bytes
Versions: 4
Compression:
Stored size: 524 Bytes
Contents
class CreateNotifyUserNotifications < ActiveRecord::Migration def change create_table :notify_user_notifications do |t| t.string :type t.integer :target_id t.string :target_type t.json :params t.string :state t.datetime :sent_time t.integer :group_id t.integer :parent_id t.timestamps end add_index :notify_user_notifications, :group_id add_index :notify_user_notifications, :parent_id add_index :notify_user_notifications, :target_id end end
Version data entries
4 entries across 2 versions & 1 rubygems