Add on information entreprise :

- SIRET Siège social
	- Code naf
	- Code effectif
	- Numéro TVA intracommunautaire
	- Exercices
This commit is contained in:
Xavier J 2015-11-16 11:23:29 +01:00
parent 803ca14f72
commit dd8bafab49
18 changed files with 233 additions and 21 deletions

View 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