aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.rb
AgeCommit message (Collapse)Author
2018-02-06Refs #5682; Set default value for application daysZog
2018-02-06Refs #5682; Add application_days field to calendarsZog
2018-02-06Refs #5750 @1h; Add a "kind" attribute to StopAreasZog
This determines if the StopArea is commercial or not The useless fields are hidden in the form for the non-commercials ones
2018-01-23First draft for including calendars into workgroup for having appropriate ↵cedricnjanga
scoping
2018-01-16Finalize CSV export for ComplianceCheckMessage and Import<essagecedricnjanga
2018-01-12Refs #5163cedricnjanga
Add compliance check resource status helper Add small changes for CSV export
2018-01-11Add Referential#merged_at and make Referentials archived and merged. Refs #5559Alban Peignier
2018-01-10Use jsonb and default to create vehicle_journeys#custom_field_values. Refs #55055505-custom_fields_with_jsonbAlban Peignier
2018-01-10Fixes: #5505@0.25h; Invesitgating the failure to compute a distinct join on ↵Robert
vehicle_journeys Solution: custom_field_values: json -> jsonb
2018-01-10Fixes: #5505@2h; Migrations, specs and implementationsRobert
- Migration index_resource_type_on_custom_fields - Specing behavior of custom field's resource (VehicleJourney) - Migration create json col custom_field_values for resource (VehicleJourney) - Create accessor methods inside resource (VehicleJourney)
2018-01-10Refs: #5505@1h; Spec discussed, model scaffolded [amend me] [skip-ci]Robert
2018-01-10Fixes: #5499; Added validations and associationsRobert
2018-01-10bup [amend me] [skip-ci]Robert
2018-01-10Refs: #5499@0.5h; fixed migration (ids type of rails generator is not conform)Robert
2018-01-10Refs: #5499@0.5h; Scaffolded WorkgroupRobert
Next: - spec associations and name - spec initialisation - implement
2018-01-09Commit schemacedricnjanga
2018-01-08Remove 'mode' from 'clean_ups', merge mistakeZog
2018-01-08Remove experimental 'objectid' extensionZog
2018-01-08Rebase master5455-store-costs-between-stopsZog
2018-01-08Refs #5455 @6h; Add time and distance between stops in Journey PatternsZog
- Adds a `JSON` attribute in the model - Adds the fields in the editor
2018-01-05Create Merge operation. Refs #5299Alban Peignier
2018-01-04Refs ##5461 Add validation on some Compliance Controls to avoid negative ↵cedricnjanga
values on dynamic attributes
2018-01-04Commit schemacedricnjanga
2017-12-27Refs #5407; Fix CIZog
2017-12-27Refs #5407 @2h; Model implementationZog
- Link PurchaseWindows to VehicleJourneys in the model - Add an autocompletion endpoint
2017-12-21Merge branch 'master' into ↵Luc Donnet
5316-migrate-compliance-control-and-check-attributes-from-hs
2017-12-21Change `compliance_{controls,checks}` `control_attributes` to JSONTeddy Wing
Make these columns JSON fields again. Do this because of bugs trying to validate types with `hstore_accessor` (https://github.com/devmynd/hstore_accessor/issues/78). With a JSON field, types are preserved and we don't have to deal with casting back and forth. Previously we had converted to Hstore because the Java IEV application used an older ORM version (maybe Hibernate) that didn't support the Postgres JSON type. Because of the validation problems with Hstore, the Java application has been updated to support JSON fields. Thanks to this Stack Overflow post from 'a_horse_with_no_name' that describes how to convert from Hstore to JSON types in Postgres: https://stackoverflow.com/questions/33732529/postgres-how-to-convert-hstore-to-json-datatypes#comment55234342_33732529 Converting in this direction seems to me to be much safer because we're not losing type information. All the values should be hashes of strings, which should convert without issue into JSON. Refs #5316
2017-12-21Refs #4787 Add waiting time unitycedricnjanga
2017-12-21Commit schemacedricnjanga
2017-12-20Add StopArea#waiting_time with support in stop_areas#index/show. Refs #5351Alban Peignier
2017-12-20Refs: #5339 pushing for Jenkins testRobert
2017-12-20Create Organisation#features and FeatureChecker controller concerns. Refs #5339Alban Peignier
2017-12-14Enable unaccent extensionXinhui
Refs #5305
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