API de comptabilité horaire.
Ви не можете вибрати більше 25 тем Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20210413093535_create_users.rb 309B

12345678910111213
  1. class CreateUsers < ActiveRecord::Migration[6.1]
  2. def change
  3. create_table :users do |t|
  4. t.string :email, null: false
  5. t.index :email, unique: true
  6. t.string :username, null: false
  7. t.index :username, unique: true
  8. t.string :password_digest
  9. t.timestamps
  10. end
  11. end
  12. end