aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.rb
AgeCommit message (Collapse)Author
2017-12-05Add some changes according to PR reviewcedricnjanga
2017-12-05Refs #5127 Add two new endpoints to the APIcedricnjanga
ComplianceCheckSet#notify_parent NetexImport#notify_parent
2017-11-30Merge branch 'master' into 5093-fix_import_policyLuc Donnet
2017-11-30Fixes: #5130@0.5h; Added a quickfix for incorrect item_id type in versions5130-del_fk_compliance_ctrl_set_in_compliance_check_setsRobert
2017-11-30Fixes: #5130@0.5h; Spec added, migration addedRobert
2017-11-30db/schema readdedRobert
2017-11-30Delete foreign_key referential in compliance_check_set Refs #5093Luc Donnet
2017-11-30Fix db/schema_spec interger must be bigint4981_last_editorXinhui
2017-11-30db schema addedRobert
2017-11-28Fix schema conflit after merge PR #127Xinhui
2017-11-28Fix bigint specXinhui
2017-11-28Refactoring move referentialSupport from chouetteController into childrensXinhui
2017-11-28Remove column creatorXinhui
2017-11-28Remove creator_id columnXinhui
2017-11-27Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-11-26Add Organisation#custom_view and associated helper render_custom_view. Refs ↵Alban Peignier
#4735
2017-11-23Add spec for stif_netex objectid_formatcedricnjanga
2017-11-22Fix last spec and add short_id method to Netex Objectidcedricnjanga
2017-11-22add object_id_format to migrations, create module for call Referential, Line ↵Guillaume
Referential, StopAreaReferential in models, add Enumerize in models Refs #4941
2017-11-17Refs: #4461@0.75h; Fixing netex_import after_create callback to ↵Robert
after_commit on: :create
2017-11-17Merge branch '4516_cleanup_rule_parameter_set'Xinhui
2017-11-14Drop table rule_parameter_setsXinhui
Refs #4516
2017-11-13Refs #4952 Add conidtion to display ComplianceControlBlock edit button ↵cedricnjanga
depending on user permissions
2017-11-13compliance_check_resources: Rename `type` column to `resource_type`Teddy Wing
The Java application needs a `resource_type` column to be able to store the class/object that was validated by the resource's check. Since we don't need or want Single Table Inheritance on this table, rename the existing `type` field to `resource_type`. Refs #4953
2017-11-10Change `compliance_check_set_id` to `bigint`Teddy Wing
I had missed this one in 63d85933ac99453c76df7cda102a4f60d94f5f53. Thanks a lot to Robert for scouring the fields and finding it. Since the v2 migration was irreversible, add a new one to change the type of this foreign key. Refs #4947
2017-11-10Migrate all foreign keys to `bigint` from `integer`Teddy Wing
All our primary keys are supposed to be `bigint`s, and our foreign keys should likewise be `bigint`s. But it's easy to forget this when creating migrations, or some committers might not have been up to speed on the convention. In any case, this changes all existing foreign keys to be `bigint`s. Need to get this out now so that Michel Etienne can use it to correctly test the Java application for compliance check validations. That's why I'm not including any future-looking checks or enforcements here. That will be coming next. Refs #4947
2017-11-09Remove call to route_section related method4944_remove_route_section_codeXinhui
2017-11-06Refs #4859 Change ImportMessage#criticity type to stringcedricnjanga
2017-10-27merged db/schema.rbRobert
2017-10-16migratedRobert
2017-10-16Fix uniqueness for code in compliance_control_set Refs #4731Luc Donnet
2017-10-12Refs: #4709@0.75h;Robert
DONE: - Copied all node atts for ComplianceChecks - Migration of CompliancCheck#criticity int -> string TODO: - Check what to do with attribute ComplianceCheck#type
2017-10-03DB migrationRobert
2017-10-03Refs #4661 Remove string column from ComplianceCheckSetcedricnjanga
2017-10-03Add attributes to compliance check set Refs #4661cedricnjanga
2017-10-03Refs #4678 Add migration to convert control attributes to hstorecedricnjanga
2017-10-02add show link for compliance_control_block, wording links Refs #4659Guillaume
2017-10-02Refs #4638 Add reliation between ComplianceCheckSet and CompliancecheckMessagecedricnjanga
2017-09-29add button link to compliance control blocks/select type in compliance ↵Guillaume
control set show, update compliance control set decorator
2017-09-28Revert references compliance_control should belong to compliance_control blockXinhui
2017-09-27Remove compliance control block id column from compliance_controls tableXinhui
Refs #4585
2017-09-27Nested compliance control blockXinhui
Refs #4585
2017-09-25Add data migration to give all Workbenches a ReferentialSuiteTeddy Wing
Existing `Workbench`es don't have associated `ReferentialSuite`s in their `output` fields. The new requirement is that all `Workbench`es must have a `ReferentialSuite`. To enforce this for existing `Workbench` records, this data migration creates new (empty) `ReferentialSuite`s for each existing `Workbench`. Not performant at all, and I'm worried I'm missing some edge case, but this is the gist of it. Refs #3520
2017-09-25Add `output_id` column to `workbenches`Teddy Wing
This column will be a reference to a `ReferentialSuite`. Going forward, all `Workbench`es will be required to have an associated `ReferentialSuite`. Refs #3520
2017-09-22Add `has_many` association between `Referential` and `ReferentialSuite`Teddy Wing
`ReferentialSuite` has many `Referential`s. Need to add a foreign key column to the `referentials` table to allow that to work. Refs #3519
2017-09-22Add `ReferentialSuite`Teddy Wing
This model is responsible for collecting referentials in order to merge them into a single referential. * `new` corresponds to a referential in the process of being validated * `current` corresponds to the most recently validated referential Refs #3519
2017-09-18Fix table name compliance_check_result to compliance_check_message Refs #4390 @2Luc Donnet
2017-09-15Initialize first model for compliance_control STI Refs #3550 @4Luc Donnet
2017-09-14Merge branch 'master' of github.com:AF83/stif-boivLuc Donnet
2017-09-14Change wayback values in route Refs #3395 @4Luc Donnet