Sha256: f2bb44e83c82f6b9e0f41584879fe871609e89180440f2d241618ed295c6b754

Contents?: true

Size: 256 Bytes

Versions: 10

Compression:

Stored size: 256 Bytes

Contents

class CreateWupeeNotificationTypes < ActiveRecord::Migration
  def change
    create_table :wupee_notification_types do |t|
      t.string :name
      t.timestamps null: false
    end

    add_index :wupee_notification_types, :name, unique: true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
wupee-2.0.0.beta2 db/migrate/20151029113100_create_wupee_notification_types.rb
wupee-2.0.0.beta1 db/migrate/20151029113100_create_wupee_notification_types.rb
wupee-1.1.4 db/migrate/20151029113100_create_wupee_notification_types.rb
wupee-1.1.3 db/migrate/20151029113100_create_wupee_notification_types.rb
wupee-1.1.2 db/migrate/20151029113100_create_wupee_notification_types.rb
wupee-1.0.4 db/migrate/20151029113100_create_wupee_notification_types.rb
wupee-1.0.3 db/migrate/20151029113100_create_wupee_notification_types.rb
wupee-1.0.2 db/migrate/20151029113100_create_wupee_notification_types.rb
wupee-1.0.1 db/migrate/20151029113100_create_wupee_notification_types.rb
wupee-1.0.0 db/migrate/20151029113122_create_wupee_notification_types.rb