Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- .../009_rename_user_to_uid_in_permissions.rb | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) create mode 100644 wui/src/db/migrate/009_rename_user_to_uid_in_permissions.rb diff --git a/wui/src/db/migrate/009_rename_user_to_uid_in_permissions.rb b/wui/src/db/migrate/009_rename_user_to_uid_in_permissions.rb new file mode 100644 index 0000000..fe59baf --- /dev/null +++ b/wui/src/db/migrate/009_rename_user_to_uid_in_permissions.rb @@ -0,0 +1,9 @@ +class RenameUserToUidInPermissions < ActiveRecord::Migration + def self.up + rename_column :permissions, :user, :uid + end + + def self.down + rename_column :permissions, :uid, :user + end +end -- 1.5.4.1