default: true on config tables
This commit is contained in:
parent
d51c5393e7
commit
5f64977d73
6
db/migrate/20180925203846_change_default_api_migrated.rb
Normal file
6
db/migrate/20180925203846_change_default_api_migrated.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class ChangeDefaultApiMigrated < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
change_column_default(:fbos_configs, :api_migrated, true)
|
||||
change_column_default(:firmware_configs, :api_migrated, true)
|
||||
end
|
||||
end
|
|
@ -344,7 +344,7 @@ CREATE TABLE public.fbos_configs (
|
|||
sequence_init_log boolean DEFAULT false,
|
||||
network_not_found_timer integer,
|
||||
firmware_hardware character varying DEFAULT 'arduino'::character varying,
|
||||
api_migrated boolean DEFAULT false,
|
||||
api_migrated boolean DEFAULT true,
|
||||
os_auto_update boolean DEFAULT true,
|
||||
arduino_debug_messages boolean DEFAULT false
|
||||
);
|
||||
|
@ -467,7 +467,7 @@ CREATE TABLE public.firmware_configs (
|
|||
pin_guard_5_active_state integer DEFAULT 1,
|
||||
pin_guard_5_pin_nr integer DEFAULT 0,
|
||||
pin_guard_5_time_out integer DEFAULT 60,
|
||||
api_migrated boolean DEFAULT false,
|
||||
api_migrated boolean DEFAULT true,
|
||||
movement_invert_2_endpoints_x integer DEFAULT 0,
|
||||
movement_invert_2_endpoints_y integer DEFAULT 0,
|
||||
movement_invert_2_endpoints_z integer DEFAULT 0
|
||||
|
@ -1218,7 +1218,8 @@ CREATE TABLE public.web_app_configs (
|
|||
discard_unsaved boolean DEFAULT false,
|
||||
xy_swap boolean DEFAULT false,
|
||||
home_button_homing boolean DEFAULT false,
|
||||
show_motor_plot boolean DEFAULT false
|
||||
show_motor_plot boolean DEFAULT false,
|
||||
show_historic_points boolean DEFAULT false
|
||||
);
|
||||
|
||||
|
||||
|
@ -2324,6 +2325,8 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20180813185430'),
|
||||
('20180815143819'),
|
||||
('20180829211322'),
|
||||
('20180910143055');
|
||||
('20180910143055'),
|
||||
('20180920194120'),
|
||||
('20180925203846');
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue