add siret to user
This commit is contained in:
parent
d655b2319a
commit
0a14fbd5dd
5 changed files with 48 additions and 10 deletions
5
db/migrate/20151006155256_add_siret_to_user.rb
Normal file
5
db/migrate/20151006155256_add_siret_to_user.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddSiretToUser < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :siret, :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: 20150923101000) do
|
||||
ActiveRecord::Schema.define(version: 20151006155256) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -44,8 +44,8 @@ ActiveRecord::Schema.define(version: 20150923101000) do
|
|||
t.string "montant_aide_demande"
|
||||
t.integer "procedure_id"
|
||||
t.date "date_previsionnelle"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.datetime "created_at", default: '2015-09-22 09:25:29'
|
||||
t.datetime "updated_at", default: '2015-09-22 09:25:29'
|
||||
t.string "state"
|
||||
t.integer "user_id"
|
||||
end
|
||||
|
@ -110,7 +110,7 @@ ActiveRecord::Schema.define(version: 20150923101000) do
|
|||
t.integer "type_de_piece_justificative_id"
|
||||
end
|
||||
|
||||
add_index "pieces_justificatives", ["type_de_piece_justificative_id"], name: "index_pieces_justificatives_on_type_piece_jointe_id", using: :btree
|
||||
add_index "pieces_justificatives", ["type_de_piece_justificative_id"], name: "index_pieces_justificatives_on_type_de_piece_justificative_id", using: :btree
|
||||
|
||||
create_table "procedures", force: :cascade do |t|
|
||||
t.string "libelle"
|
||||
|
@ -145,6 +145,7 @@ ActiveRecord::Schema.define(version: 20150923101000) do
|
|||
t.inet "last_sign_in_ip"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "siret"
|
||||
end
|
||||
|
||||
add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue