Sha256: 2e1e91e33d75b6e196fb6d23862505d7c89c274410aaa3a1d5785e8c64d86d43
Contents?: true
Size: 353 Bytes
Versions: 30
Compression:
Stored size: 353 Bytes
Contents
class AddNotificationsTable < ActiveRecord::Migration def self.up create_table :notifications, :id => false do |t| t.column :notify_user_id, :integer t.column :notify_content_id, :integer t.column :created_at, :datetime t.column :updated_at, :datetime end end def self.down drop_table :notifications end end
Version data entries
30 entries across 30 versions & 1 rubygems