Sha256: c8bf435287f87553217fd8adeb8fc3f50830105f840bf62bfc774e70bfcc1307

Contents?: true

Size: 425 Bytes

Versions: 3

Compression:

Stored size: 425 Bytes

Contents

class CreateUserNotificationSettings < ActiveRecord::Migration
  def change
    create_table :user_notification_settings do |t|
      t.string :email_date  , :default => "immediately"
      t.string :repair_count , :default => "10"
      t.integer :cost   , :default => 10
      t.string :waranty_date , :default => "warnty_month"
      t.integer :user_id
      t.string :organization_id
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150609170014_create_user_notification_settings.rb
pshq_engine-0.1.5 db/migrate/20150609170014_create_user_notification_settings.rb
pshq_engine-0.0.1 db/migrate/20150609170014_create_user_notification_settings.rb