summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-21 19:06:59 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-21 19:06:59 -0600
commitdeaf74104dfeecec4704a4af82837bbcb737c71d (patch)
treeb922e0aac302ed793c6906a727039333710f30a3 /db/migrate
parent95e0a8c59f5e360876315a5559e556ce81b78683 (diff)
Añade modelo de usuario
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20230222010138_create_user_accounts.rb13
1 files changed, 13 insertions, 0 deletions
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