Revision 70e65017
Added by Marc Dequènes about 15 years ago
- ID 70e65017593750754038374c7fab3b153ba60b5d
db/schema.rb | ||
---|---|---|
|
||
add_index "artwork_steps", ["filename"], :name => "image_filename", :unique => true
|
||
|
||
create_table "artwork_supports", :force => true do |t|
|
||
t.string "name", :limit => 128, :null => false
|
||
t.string "acronym", :limit => 8
|
||
end
|
||
|
||
add_index "artwork_supports", ["name", "acronym"], :name => "nom", :unique => true
|
||
add_index "artwork_supports", ["name"], :name => "nom_2"
|
||
|
||
create_table "artwork_supports_artworks", :force => true do |t|
|
||
t.integer "artwork_support_id", :limit => 10, :null => false
|
||
t.integer "artwork_id", :limit => 20, :null => false
|
||
end
|
||
|
||
add_index "artwork_supports_artworks", ["artwork_support_id", "artwork_id"], :name => "artwork_support_id", :unique => true
|
||
|
||
create_table "artworks", :force => true do |t|
|
||
t.integer "artwork_set_id", :limit => 20
|
||
t.string "artwork_set_position", :limit => 32
|
||
... | ... | |
t.datetime "updated_at"
|
||
end
|
||
|
||
create_table "artworks_techniques", :force => true do |t|
|
||
t.integer "technique_id", :limit => 10, :null => false
|
||
t.integer "artwork_id", :limit => 20, :null => false
|
||
end
|
||
|
||
add_index "artworks_techniques", ["technique_id", "artwork_id"], :name => "technique_id", :unique => true
|
||
|
||
create_table "exhibition_artwork", :force => true do |t|
|
||
t.integer "exhibition_id", :limit => 20, :null => false
|
||
t.integer "artwork_id", :limit => 20, :null => false
|
||
... | ... | |
add_index "exhibitions", ["name"], :name => "nom", :unique => true
|
||
add_index "exhibitions", ["name"], :name => "nom_2"
|
||
|
||
create_table "techniques", :force => true do |t|
|
||
t.string "name", :limit => 128, :null => false
|
||
t.string "acronym", :limit => 8
|
||
end
|
||
|
||
add_index "techniques", ["name", "acronym"], :name => "nom", :unique => true
|
||
add_index "techniques", ["name"], :name => "nom_2"
|
||
|
||
create_table "users", :force => true do |t|
|
||
t.string "login", :limit => 64, :null => false
|
||
t.string "real_name", :limit => 256
|
Also available in: Unified diff
[fix] renamed 'technique' into more appropriate name 'artwork_support', and update schema and translations (Closes #4)