Sha256: c4d92237af2fd9debe7af392f18d8b1f28a896c440bea70fd0765e893efb8968
Contents?: true
Size: 605 Bytes
Versions: 44
Compression:
Stored size: 605 Bytes
Contents
# == Schema Information # # Table name: contact_opportunities # # id :integer not null, primary key # contact_id :integer # opportunity_id :integer # role :string(32) # deleted_at :datetime # created_at :datetime # updated_at :datetime # <% for i in (1 .. 20) do random = rand(20) %> contact_opportunities<%= i %>: id: <%= i %> contact_id: <%= i if random < 15 %> opportunity_id: <%= (i + random) if random < 15 %> deleted_at: created_at: <%= starts = Date.today - rand(15).days %> updated_at: <%= starts + rand(5).days %> <% end %>
Version data entries
44 entries across 44 versions & 2 rubygems