r2web-ru/backend/db/migrate/20221114171435_create_users.rb

12 lines
210 B
Ruby

class CreateUsers < ActiveRecord::Migration[7.0]
def change
create_table :users do |t|
t.string :username
t.string :email
t.string :password_digest
t.timestamps
end
end
end