Sha256: 369b65a1da5d611a911e191dcc5e246d388806551e589426c0c603be9429a117
Contents?: true
Size: 503 Bytes
Versions: 2
Compression:
Stored size: 503 Bytes
Contents
class CreateImportoImport < ActiveRecord::Migration[5.1] def change enable_extension 'uuid-ossp' enable_extension 'pgcrypto' return if table_exists?(:importo_imports) create_table :importo_imports, id: :uuid do |t| t.string :importo_ownable_type, null: false t.uuid :importo_ownable_id, null: false t.string :kind t.string :state t.string :file_name t.string :result_message t.jsonb :results t.timestamps end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
importo-2.0.5 | db/migrate/20180409151031_create_importo_import.rb |
importo-2.0.4 | db/migrate/20180409151031_create_importo_import.rb |