mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
18 lines
396 B
Ruby
18 lines
396 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class CreateLabelPrinters < ActiveRecord::Migration[6.1]
|
||
|
def change
|
||
|
create_table :label_printers do |t|
|
||
|
t.string :name, null: false
|
||
|
t.integer :type_of, null: false
|
||
|
t.integer :language_type, null: false
|
||
|
t.string :host
|
||
|
t.integer :port
|
||
|
t.string :fluics_api_key
|
||
|
t.string :fluics_lid
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|