Sha256: d329ec555f01b0872780181f8845ccca2391db3d443dbaab57332c1fff4f8791

Contents?: true

Size: 378 Bytes

Versions: 9

Compression:

Stored size: 378 Bytes

Contents

class CreateSailSettings < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :sail_settings do |t|
      t.string :name, null: false
      t.text :description
      t.string :value, null: false
      t.integer :cast_type, null: false, limit: 1
      t.timestamps
      t.index ["name"], name: "index_settings_on_name", unique: true
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sail-1.5.1 lib/generators/sail/install/templates/create_sail_settings.rb
sail-1.5.0 lib/generators/sail/install/templates/create_sail_settings.rb
sail-1.4.2 lib/generators/sail/install/templates/create_sail_settings.rb
sail-1.4.1 lib/generators/sail/install/templates/create_sail_settings.rb
sail-1.2.2 lib/generators/active_record/templates/settings_migration.rb
sail-1.2.1 lib/generators/active_record/templates/settings_migration.rb
sail-1.2.0 lib/generators/active_record/templates/settings_migration.rb
sail-1.1.0 lib/generators/active_record/templates/settings_migration.rb
sail-1.0.1 lib/generators/active_record/templates/settings_migration.rb