Sha256: c65902eed52910f5dd725b4793f829b87c27aeeae696b76230c499b2bc24ac66

Contents?: true

Size: 364 Bytes

Versions: 23

Compression:

Stored size: 364 Bytes

Contents

class CreateDiscernerOperators < ActiveRecord::Migration
  def change
    create_table :discerner_operators do |t|
      t.string :symbol
      t.string :text
      t.boolean :binary
      t.datetime :deleted_at

      t.timestamps
    end
    add_index :discerner_operators, [:symbol, :deleted_at], :unique => true, :name => 'index_discerner_operators'
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
discerner-1.1.20 db/migrate/20121008154855_create_discerner_operators.rb
discerner-1.1.19 db/migrate/20121008154855_create_discerner_operators.rb
discerner-1.1.18 db/migrate/20121008154855_create_discerner_operators.rb