database-schema
Database schema with categories, subcategories and products [closed]
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that i开发者_运维问答s not g[详细]
2023-04-13 06:54 分类:问答Are there performance advantages by splitting a Django model/table into two models/tables?
In SO question 7531153, I asked the proper way to split a Django model into two—either using Django\'s Multi-table Inheritance or explicitly defining a OneToOneField.[详细]
2023-04-13 01:52 分类:问答Correct design: a Post can have one User (author) plus many Users (tagged users)
I have a situation where I\'m getting a bit stuck. A Post can have a User (as an author), and a Post can also have many Users (as a post can have other users tagged in it).[详细]
2023-04-11 10:31 分类:问答How to create a "dynamic" database structure (EF Code-First)
I\'m trying to implement web application using Entity Framework Code-First. I\'ll explain the problem on such example:[详细]
2023-04-10 23:50 分类:问答Which normal form does this table violate?
Consider this table: +-------+-------+-------+-------+ name|hobby1 |hobby2 |hobby3 | +-------+-------+-------+-------+[详细]
2023-04-10 20:18 分类:问答Mysql Datatype - Enum or not to Enum, Can Enum be blank?
I have large DB (many millions of rows) and I\'m trying to make the best choices for datatypes for 2 fields.Most everything I have made varchar or INT.However, 2 fields I\'m wondering if Enum is the b[详细]
2023-04-10 18:54 分类:问答RailRoad is not working. Giving me issues ie /railroad-0.5.0/lib/railroad/app_diagram.rb:54:in `disable_stdout': uninitialized constant
Here is various outputs railroad -M | dot -Tsvg > models.svg /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/railroad-0.5.0/lib/railroad/app_diagram.rb:54:in `disable_stdout\': uninitialized constant Ap[详细]
2023-04-10 15:50 分类:问答Polymorphism in Mongoid
Is it possible to get real polymorphism in Mongoid? Example: class Company include Mongoid::Document has_many :workers, as: :workable[详细]
2023-04-10 07:03 分类:问答Windows Service + read from database
I am new To windows service. I need a windows service that reads an entry from a table from database. I have a CONSOLE APP where I add new project WINDOWS SERVICE. I already have amethod that access t[详细]
2023-04-09 21:34 分类:问答Relation "OR" in relational databases
The question is pretty trivial I guess. But nevertheless, E.g., I have Entities: user (id, name), group (id, name), user_group (user_id, group_id) and gallery (id, name, owner_id).[详细]
2023-04-09 18:27 分类:问答