admin can upload a logo for his procedure
This commit is contained in:
parent
8755ce2ab1
commit
d49e9fe75a
13 changed files with 119 additions and 26 deletions
5
db/migrate/20151210150958_add_logo_to_procedure.rb
Normal file
5
db/migrate/20151210150958_add_logo_to_procedure.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddLogoToProcedure < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :procedures, :logo, :string
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20151210134135) do
|
||||
ActiveRecord::Schema.define(version: 20151210150958) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -161,6 +161,7 @@ ActiveRecord::Schema.define(version: 20151210134135) do
|
|||
t.integer "administrateur_id"
|
||||
t.boolean "archived", default: false
|
||||
t.boolean "euro_flag", default: false
|
||||
t.string "logo"
|
||||
end
|
||||
|
||||
create_table "quartier_prioritaires", force: :cascade do |t|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue