Revision 4f40ad8a
Added by Marc Dequènes about 14 years ago
- ID 4f40ad8a3f9120f7cdedcccfc20aab0174a65ed7
db/schema.rb | ||
---|---|---|
add_index "artwork_sets", ["name"], :name => "nom_2"
|
||
|
||
create_table "artwork_sizes", :force => true do |t|
|
||
t.float "height", :null => false
|
||
t.float "width", :null => false
|
||
t.boolean "standard", :default => false, :null => false
|
||
t.integer "height", :limit => 10, :null => false
|
||
t.integer "width", :limit => 10, :null => false
|
||
t.boolean "standard", :default => false, :null => false
|
||
end
|
||
|
||
add_index "artwork_sizes", ["height", "width"], :name => "proportion", :unique => true
|
Also available in: Unified diff
[cosmetic] artwork_sizes height and width are now integers in the DB, and displayed with the corresponding unit (closes #14)