Changes between Version 20 and Version 21 of ModelInheritance
- Timestamp:
- Feb 27, 2006, 5:56:12 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModelInheritance
v20 v21 51 51 CREATE TABLE "myapp_restaurant" ( 52 52 /* PRIMARY KEY REFERENCES "myapp_places" ("id") works for postgres, what about others? */ 53 53 54 54 55 "id" integer NOT NULL PRIMARY KEY REFERENCES "myapp_places" ("id"), … … 190 191 field.contribute_to_class(new_class, field.name) 191 192 }}} 193 194 That should pretty much be it for the object side of things; what's left is the database side of things (ie, the hard part).