mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Disable the ignored_columns feature for now
This commit is contained in:
parent
cb21fbcf54
commit
22c8a210b1
5 changed files with 10 additions and 4 deletions
|
|
@ -1 +1 @@
|
||||||
0.2.4
|
0.2.5
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## [0.2.5] — 2024-05-21
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Stop ignoring `raw_data` column during requests to `imports` and `points` tables. This was preventing points from being created.
|
||||||
|
|
||||||
## [0.2.4] — 2024-05-19
|
## [0.2.4] — 2024-05-19
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ export default class extends Controller {
|
||||||
var markersLayer = L.layerGroup(markersArray)
|
var markersLayer = L.layerGroup(markersArray)
|
||||||
|
|
||||||
var polylineCoordinates = markers.map(element => element.slice(0, 2));
|
var polylineCoordinates = markers.map(element => element.slice(0, 2));
|
||||||
var polylineLayer = L.polyline(polylineCoordinates)
|
var polylineLayer = L.polyline(polylineCoordinates, { color: 'blue', opacity: 0.6, weight: 3 })
|
||||||
|
|
||||||
var controlsLayer = {
|
var controlsLayer = {
|
||||||
"Points": markersLayer,
|
"Points": markersLayer,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Import < ApplicationRecord
|
class Import < ApplicationRecord
|
||||||
self.ignored_columns = %w[raw_data]
|
# self.ignored_columns = %w[raw_data]
|
||||||
|
|
||||||
belongs_to :user
|
belongs_to :user
|
||||||
has_many :points, dependent: :destroy
|
has_many :points, dependent: :destroy
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
class Point < ApplicationRecord
|
class Point < ApplicationRecord
|
||||||
self.ignored_columns = %w[raw_data]
|
# self.ignored_columns = %w[raw_data]
|
||||||
|
|
||||||
belongs_to :import, optional: true
|
belongs_to :import, optional: true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue