Sha256: 213bffad4e4d1d45d5c2d02400d10c5802e2ca563486cba1d5eeca43875f3c98
Contents?: true
Size: 515 Bytes
Versions: 3
Compression:
Stored size: 515 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %> def change create_table :field_test_memberships do |t| t.string :participant t.string :experiment t.string :variant t.timestamp :created_at t.boolean :converted, default: false end add_index :field_test_memberships, [:experiment, :participant], unique: true add_index :field_test_memberships, :participant add_index :field_test_memberships, [:experiment, :created_at] end end
Version data entries
3 entries across 3 versions & 1 rubygems