Sha256: 3eb0df472af4c5c20495173fd27e1342277b3b0e88a483845f88cb2860c9b0b6
Contents?: true
Size: 382 Bytes
Versions: 23
Compression:
Stored size: 382 Bytes
Contents
class AddLoots < ActiveRecord::Migration[4.2] def self.up create_table :loots do |t| t.integer :workspace_id, :null => false, :default => 1 t.integer :host_id t.integer :service_id t.string :ltype, :limit => 512 t.string :path, :limit => 1024 t.text :data t.timestamps null: false end end def self.down drop_table :loots end end
Version data entries
23 entries across 23 versions & 2 rubygems