mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Add contry select to user form
This commit is contained in:
parent
f76d73c597
commit
0dc0cc63d9
6 changed files with 16 additions and 16 deletions
5
db/migrate/20140930093039_add_country_to_users.rb
Normal file
5
db/migrate/20140930093039_add_country_to_users.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddCountryToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :country_id, :integer
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20140929095329) do
|
||||
ActiveRecord::Schema.define(version: 20140930093039) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -200,6 +200,7 @@ ActiveRecord::Schema.define(version: 20140929095329) do
|
|||
t.boolean "admin", default: false
|
||||
t.string "identity_code"
|
||||
t.integer "registrar_id"
|
||||
t.integer "country_id"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue