diff --git a/db/migrate/20210716124649_create_label_templates.rb b/db/migrate/20210716124649_create_label_templates.rb index e12a2a1fb..1ee42c410 100644 --- a/db/migrate/20210716124649_create_label_templates.rb +++ b/db/migrate/20210716124649_create_label_templates.rb @@ -1,10 +1,10 @@ # frozen_string_literal: true -class LabelTemplate < ApplicationRecord - enum language_type: { zpl: 0 } -end - class CreateLabelTemplates < ActiveRecord::Migration[6.1] + class LabelTemplate < ApplicationRecord + enum language_type: { zpl: 0 } + end + def change create_table :label_templates do |t| t.string :name, null: false diff --git a/db/structure.sql b/db/structure.sql index 9dc4db663..a8903a430 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -7308,7 +7308,6 @@ INSERT INTO "schema_migrations" (version) VALUES ('20210410100006'), ('20210506125657'), ('20210622101238'), -('20210715125349'), ('20210716124649');