Sha256: b58da67242ee2df57cb8477433bf32e8a072ed4570ce2ba57a7e99b5b83d6f05

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 Bytes

Contents

class CreatePandaCMSVisits < ActiveRecord::Migration[7.1]
  def change
    create_table :panda_cms_visits, id: :uuid do |t|
      t.string :ip_address, null: true
      t.string :user_agent, null: true

      t.references :panda_cms_page, null: true, foreign_key: true, type: :uuid
      t.references :panda_cms_redirect, null: true, foreign_key: true, type: :uuid
      t.references :panda_cms_user, null: true, foreign_key: true, type: :uuid
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
panda-cms-0.7.3 db/migrate/20240317230622_create_panda_cms_visits.rb
panda-cms-0.7.2 db/migrate/20240317230622_create_panda_cms_visits.rb
panda-cms-0.7.0 db/migrate/20240317230622_create_panda_cms_visits.rb