Sha256: 87bd88dc632a5bb2a41e6475b41f98cf5157708f5b154da1828ec6441e25d668
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
class CreateImports < ActiveRecord::Migration def change create_table :imports do |t| t.string :name t.string :token t.references :import_format, index: true t.string :repeating_element, default: "Listing" t.string :unique_identifier, default: "ListingKey" t.string :source_url t.string :source_user t.string :source_pass t.datetime :source_data_modified t.timestamps null: false end add_index :imports, :token end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reso-0.1.2.0 | lib/generators/reso/templates/create_imports.rb |