Sha256: 9f77e99a563a69993684c4f0c6c1ffcc82fecb4165dfcd4d9d68fb021557dc7d

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

class ABTests < ActiveRecord::Migration
  def self.up
    create_table :a_b_tests do |t|
      t.string :name
      t.string :ticket_url
      t.timestamps
    end
    add_index :a_b_tests, :name
  end

  def self.down
    drop_table :a_b_tests
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
a_b-0.1.1 db/migrate/001_a_b_tests.rb
a_b-0.1.0 db/migrate/001_a_b_tests.rb