Skip to content

Commit

Permalink
Merge pull request #141 from slovensko-digital/SD-2744/Metais-sync-pr…
Browse files Browse the repository at this point in the history
…oject-fail-on-null-investment-type

SD-2744/Metais-sync-project-fail-on-null-investment-type
  • Loading branch information
tomasdrga authored Jul 15, 2024
2 parents 6211dfc + 8c9a1ef commit 398074f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AllowNullForTypInvesticieInMetaisProjectVersions < ActiveRecord::Migration[6.0]
def change
change_column_null 'metais.project_versions', :typ_investicie, null: true
end
end
5 changes: 3 additions & 2 deletions db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4510,7 +4510,7 @@ CREATE TABLE metais.project_versions (
project_id bigint NOT NULL,
nazov character varying NOT NULL,
kod_metais character varying NOT NULL,
typ_investicie character varying NOT NULL,
typ_investicie character varying,
prijimatel character varying,
faza_projektu character varying,
program character varying,
Expand Down Expand Up @@ -11065,6 +11065,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20220919084308'),
('20221219105855'),
('20231106173059'),
('20231107130000');
('20231107130000'),
('20240709105101');


0 comments on commit 398074f

Please sign in to comment.