3scale/porta

View on GitHub
db/migrate/20160503153129_create_notification_preferences.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CreateNotificationPreferences < ActiveRecord::Migration
  def change
    create_table :notification_preferences do |t|
      t.references :user, index: { unique: true }, limit: 8
      t.binary :preferences

      t.timestamps
    end
  end
end