mirror of
https://github.com/usetrmnl/terminus.git
synced 2026-08-13 14:29:27 -07:00
Added migration for extension static body column rename
Necessary to clarify this column is for static bodies only now that this column isn't used for polling extensions as that information is now stored with the associated exchange(s). _This is a breaking change that will be resolved in the next commit._ Milestone: minor
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
ROM::SQL.migration { change { rename_column :extension, :body, :static_body } }
|
||||
@@ -383,7 +383,7 @@ CREATE TABLE public.extension (
|
||||
description text,
|
||||
kind public.extension_kind_enum DEFAULT 'poll'::public.extension_kind_enum NOT NULL,
|
||||
tags text[] DEFAULT '{}'::text[] NOT NULL,
|
||||
body jsonb DEFAULT '{}'::jsonb NOT NULL,
|
||||
static_body jsonb DEFAULT '{}'::jsonb CONSTRAINT extension_body_not_null NOT NULL,
|
||||
fields jsonb DEFAULT '{}'::jsonb NOT NULL,
|
||||
template text,
|
||||
data jsonb DEFAULT '{}'::jsonb NOT NULL,
|
||||
@@ -1672,4 +1672,5 @@ INSERT INTO schema_migrations (filename) VALUES
|
||||
('20260421140616_remove_model_palette_names_column.rb'),
|
||||
('20260508102145_add_device_synced_at_column.rb'),
|
||||
('20260512100558_remove_device_proxy_column.rb'),
|
||||
('20260512102800_remove_extension_poll_columns.rb');
|
||||
('20260512102800_remove_extension_poll_columns.rb'),
|
||||
('20260512110409_rename_extension_body_column.rb');
|
||||
|
||||
Reference in New Issue
Block a user