Fixed migration [SCI-5902]

This commit is contained in:
Martin Artnik 2021-07-20 09:35:39 +02:00
parent a8f8ab8ba9
commit 026bc1eaae
2 changed files with 4 additions and 5 deletions

View file

@ -1,10 +1,10 @@
# frozen_string_literal: true
class CreateLabelTemplates < ActiveRecord::Migration[6.1]
class LabelTemplate < ApplicationRecord
enum language_type: { zpl: 0 }
end
class CreateLabelTemplates < ActiveRecord::Migration[6.1]
def change
create_table :label_templates do |t|
t.string :name, null: false

View file

@ -7308,7 +7308,6 @@ INSERT INTO "schema_migrations" (version) VALUES
('20210410100006'),
('20210506125657'),
('20210622101238'),
('20210715125349'),
('20210716124649');