Add on information entreprise :
- SIRET Siège social - Code naf - Code effectif - Numéro TVA intracommunautaire - Exercices
This commit is contained in:
parent
803ca14f72
commit
dd8bafab49
18 changed files with 233 additions and 21 deletions
11
db/migrate/20151113171605_create_exercice_table.rb
Normal file
11
db/migrate/20151113171605_create_exercice_table.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateExerciceTable < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :exercices do |t|
|
||||
t.string :ca
|
||||
t.datetime :dateFinExercice
|
||||
t.integer :date_fin_exercice_timestamp
|
||||
end
|
||||
|
||||
add_reference :exercices, :etablissement, references: :etablissements
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue