Sha256: 0256ddf571a40f6050e9380907e09de4a74029a25adb761298181686db36a065

Contents?: true

Size: 343 Bytes

Versions: 23

Compression:

Stored size: 343 Bytes

Contents

class CreateDiscernerDictionaries < ActiveRecord::Migration
  def change
    create_table :discerner_dictionaries do |t|
      t.string :name, :null => false
      t.datetime :deleted_at

      t.timestamps
    end
    add_index :discerner_dictionaries, [:name, :deleted_at], :unique => true, :name => 'index_discerner_dictionaries'
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
discerner-2.0.16 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.15 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.14 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.13 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-1.2.2 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.12 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-1.2.1 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.11 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.10 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-1.2.0 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.9 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.8 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.7 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.6 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.5 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.4 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.3 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.2 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.1 db/migrate/20121004040716_create_discerner_dictionaries.rb
discerner-2.0.0 db/migrate/20121004040716_create_discerner_dictionaries.rb