From cd750cf9d6eb9fadbcb8994d689980bf9c2bc241 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 21 Feb 2023 19:30:29 -0600 Subject: AƱade rol a usuario MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20230222012901_add_role_to_user_account.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20230222012901_add_role_to_user_account.rb (limited to 'db/migrate/20230222012901_add_role_to_user_account.rb') diff --git a/db/migrate/20230222012901_add_role_to_user_account.rb b/db/migrate/20230222012901_add_role_to_user_account.rb new file mode 100644 index 0000000..9e234a5 --- /dev/null +++ b/db/migrate/20230222012901_add_role_to_user_account.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +# Add the role column to the user account table. +class AddRoleToUserAccount < ActiveRecord::Migration[7.0] + def change + add_column :user_accounts, :role, :string + end +end -- cgit v1.2.3