- Save polygon from carte on procedure
- Display save polygon from database
This commit is contained in:
parent
047cf952f7
commit
ce6af625d2
7 changed files with 103 additions and 34 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddJsonLatLngsToDossier < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :dossiers, :json_latlngs, :text
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20151110091451) do
|
||||
ActiveRecord::Schema.define(version: 20151112151918) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -66,6 +66,7 @@ ActiveRecord::Schema.define(version: 20151110091451) do
|
|||
t.datetime "updated_at", default: '2015-09-22 09:25:29'
|
||||
t.string "state"
|
||||
t.integer "user_id"
|
||||
t.text "json_latlngs"
|
||||
end
|
||||
|
||||
add_index "dossiers", ["procedure_id"], name: "index_dossiers_on_procedure_id", using: :btree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue