Sha256: aecb0d468a90b2d73ad58509b3629c742a8bdeca57c4f1e3b29244f5883e55c1

Contents?: true

Size: 204 Bytes

Versions: 2

Compression:

Stored size: 204 Bytes

Contents

class AlterUserColumns < ActiveRecord::Migration
  def self.up
    rename_column :groups, :created_by, :created_by_id
  end
  def self.down
    rename_column :groups, :created_by_id, :created_by
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-page_group_permissions-extension-1.0.1 db/migrate/002_alter_user_columns.rb
radiant-page_group_permissions-extension-1.0.0 db/migrate/002_alter_user_columns.rb