Sha256: 05e10c2126a381faf9b02ca97b59394d74889cdb24ba9005ac3da3bd1ab36e11

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

class FixPandaCMSVisitsColumnNames < ActiveRecord::Migration[7.1]
  def change
    change_table :panda_cms_visits do |t|
      t.rename :panda_cms_page_id, :page_id
      t.rename :panda_cms_redirect_id, :redirect_id
      t.rename :panda_cms_user_id, :user_id
      t.string :referrer, null: true
      t.datetime :visited_at
      t.string :url, null: true
      t.jsonb :params, null: true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
panda-cms-0.7.3 db/migrate/20240806112735_fix_panda_cms_visits_column_names.rb
panda-cms-0.7.2 db/migrate/20240806112735_fix_panda_cms_visits_column_names.rb
panda-cms-0.7.0 db/migrate/20240806112735_fix_panda_cms_visits_column_names.rb