Mise à jour à partir de la bd
This commit is contained in:
parent
0828d1ca65
commit
047a81b954
@ -2,7 +2,7 @@ class DeviseCreateAdminUsers < ActiveRecord::Migration
|
||||
def migrate(direction)
|
||||
super
|
||||
# Create a default user
|
||||
AdminUser.create!(:email => 'admin@example.com', :password => 'password', :password_confirmation => 'password') if direction == :up
|
||||
AdminUser.create!(email: 'admin@example.com', password: 'password', password_confirmation: 'password') if direction == :up
|
||||
end
|
||||
|
||||
def change
|
||||
|
@ -52,8 +52,8 @@ ActiveRecord::Schema.define(version: 20140403204748) do
|
||||
t.integer "postalcode"
|
||||
t.integer "inseecode"
|
||||
t.integer "regioncode"
|
||||
t.float "latitude"
|
||||
t.float "longitude"
|
||||
t.float "latitude", limit: 24
|
||||
t.float "longitude", limit: 24
|
||||
end
|
||||
|
||||
add_index "cities", ["name"], name: "cities_name", using: :btree
|
||||
|
Loading…
Reference in New Issue
Block a user