aboutsummaryrefslogtreecommitdiffstats
path: root/db
AgeCommit message (Collapse)Author
2018-01-09Fixes: #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-09Refs: #5505@1h; Spec discussed, model scaffolded [amend me] [skip-ci]Robert
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;Zog
:fire: useless code Rename some vars
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-21Add `down` to 20171218174509 Hstore to JSON migrationTeddy Wing
Copy Cédric's JSON to Hstore migration for the `down` here to give us the ability to roll back. I'm guessing the solution probably comes from here: https://stackoverflow.com/questions/28315948/casting-json-to-hstore-in-postgres-9-3/28319295#28319295 Refs #5316
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-21Merge pull request #150 from af83/5301-add_business_calendarsLuc Donnet
Refs #5301 First draft for Business Calendars
2017-12-21Refs #4787 Add waiting time unitycedricnjanga
2017-12-21Commit schemacedricnjanga
2017-12-21Add unaccent extension to schema.rbLuc Donnet
2017-12-21BusinessCalendar => PurchaseWindowcedricnjanga
belongs_to referential
2017-12-21Handle page title error displaycedricnjanga
attempt to add select tag for model color
2017-12-21Fix migrations, locales, view and exclude calendar timetable in concern Refs ↵Luc Donnet
#5301
2017-12-21Refs #5301 First draft for Business Calendarscedricnjanga
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-12-01Fix objectid_format creation in migration with existence test.Luc Donnet
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-30Merge branch 'master' into 4981_last_editorXinhui Xu
2017-11-30Add empty db/seeds.rb to fix db:seed:original and other associated tasks. ↵Alban Peignier
Refs #5109
2017-11-30Remove the legacy stif file (replaced by stif.seeds.rb). Refs #5109Alban Peignier
2017-11-30Remove the original seeds file (logic remplaced by seedbank). Refs #5109Alban Peignier
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-28Add gem paper_trailXinhui
2017-11-27Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-11-26Create STIF organisations with custom_view 'stif'. Refs #4735Alban Peignier