The users table stores information about registered users, including their email addresses and password digests.Columns
id (bigint, primary key)email (string, 255 characters, not null): The email address of the user. This column must contain a valid email address and cannot be null.password_digest (string, 255 characters): The hashed version of the user's password. Although the column allows null values, it is generally expected to be populated with a password hash.created_at (datetime, not null): The timestamp when the user was created. This column cannot be null and is automatically populated when the user is created.updated_at (datetime, not null): The timestamp when the user was last updated. This column cannot be null and is automatically updated when the user record is modified.The storage_files table stores information about uploaded files, including their metadata and the user who uploaded them.
id (bigint, primary key)user_id (integer, not null): The identifier of the user who uploaded the file. This column is referencing the users table and cannot be null.status (integer, default "init", not null): The status of the file upload process. This column cannot be null and defaults to the "init" status.