Changes between Version 50 and Version 51 of ModelInheritance


Ignore:
Timestamp:
Jul 3, 2007, 5:15:08 AM (17 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModelInheritance

    v50 v51  
    5353
    5454CREATE TABLE "myapp_restaurant" (
    55     /* PRIMARY KEY REFERENCES "myapp_places" ("id") works for postgres, what about others? */
     55    /* PRIMARY KEY REFERENCES "myapp_place" ("id") works for postgres, what about others? */
    5656    /* This works in MySQL too. -- Andy Dustman */
    57     "id" integer NOT NULL PRIMARY KEY REFERENCES "myapp_places" ("id"),
     57    "id" integer NOT NULL PRIMARY KEY REFERENCES "myapp_place" ("id"),
    5858    "description" text NOT NULL
    5959);
Back to Top