Changes between Initial Version and Version 1 of Ticket #33901, comment 13


Ignore:
Timestamp:
Apr 20, 2023, 4:24:25 AM (19 months ago)
Author:
Petter Friberg

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33901, comment 13

    initial v1  
    1818{{{
    1919#!sql
     20BEGIN;
     21--
     22-- Create model ExtendedUser
     23--
     24CREATE TABLE "myapp_extendeduser" ("id" bigint NOT NULL PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, "user_id" varchar(254) COLLATE "ci" NOT NULL UNIQUE);
     25ALTER TABLE "myapp_extendeduser" ADD CONSTRAINT "myapp_extendeduser_user_id_<chars>_fk_myapp_user_username" FOREIGN KEY ("user_id") REFERENCES "myapp_user" ("username") DEFERRABLE INITIALLY DEFERRED;
    2026CREATE INDEX "myapp_extendeduser_user_id_<chars>_like" ON "myapp_extendeduser" ("user_id" varchar_pattern_ops);
     27COMMIT;
    2128}}}
    2229
Back to Top