From deaf74104dfeecec4704a4af82837bbcb737c71d Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 21 Feb 2023 19:06:59 -0600 Subject: AƱade modelo de usuario MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20230222010138_create_user_accounts.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 db/migrate/20230222010138_create_user_accounts.rb (limited to 'db/migrate/20230222010138_create_user_accounts.rb') diff --git a/db/migrate/20230222010138_create_user_accounts.rb b/db/migrate/20230222010138_create_user_accounts.rb new file mode 100644 index 0000000..0219276 --- /dev/null +++ b/db/migrate/20230222010138_create_user_accounts.rb @@ -0,0 +1,13 @@ +class CreateUserAccounts < ActiveRecord::Migration[7.0] + def change + create_table :user_accounts do |t| + t.string :email + t.string :password_digest + t.string :first_name + t.string :last_name + t.string :session_key + + t.timestamps + end + end +end -- cgit v1.2.3