File: 1_user.sql

package info (click to toggle)
rust-sqlx 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,744 kB
  • sloc: sql: 335; python: 268; sh: 71; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 227 bytes parent folder | download
1
2
3
4
5
6
7
create table user
(
    -- integer primary keys are the most efficient in SQLite
    user_id  integer primary key auto_increment,
    -- indexed text values have to have a max length
    username varchar(16) unique not null
);