Sha256: d2bee26da3deafd68e3203cbc4f687c17124ccd87f37d0bf79cda7b7958ab421
Contents?: true
Size: 608 Bytes
Versions: 12
Compression:
Stored size: 608 Bytes
Contents
class CreateTemplates < ActiveRecord::Migration def change create_table :templates do |t| t.references :account, index: true, foreign_key: true t.string :template_key t.string :template_path t.string :template_print_driver # use to identify if template only works with a particular driver, like the :zebra t.string :template_paper # use to identify if template only works with a particular paper, like the :label10x32 t.text :template_content t.integer :lock_version, default: 1 t.timestamps null: false end end end
Version data entries
12 entries across 12 versions & 1 rubygems