Sha256: 5d13a339d462189acecc083b7da7630f3357bdc997495e7e350adc26ac62b019
Contents?: true
Size: 442 Bytes
Versions: 15
Compression:
Stored size: 442 Bytes
Contents
class NotificationHandlerMigration < ActiveRecord::Migration<%= migration_version %> def change create_table :notifications do |t| t.references :target, polymorphic: true, index: true t.references :object, polymorphic: true, index: true t.boolean :read, default: false, null: false, index: true t.text :metadata t.timestamps end end end
Version data entries
15 entries across 15 versions & 1 rubygems