Sha256: 1503741f2145d2e4e652d313a7203c242c832d5c2ccfa00d0dd2c63e261b3b1a
Contents?: true
Size: 1019 Bytes
Versions: 78
Compression:
Stored size: 1019 Bytes
Contents
# This migration comes from myreplicator (originally 20121025191622) class CreateMyreplicatorExports < ActiveRecord::Migration def change create_table :myreplicator_exports do |t| t.string :source_schema t.string :destination_schema t.string :table_name t.string :incremental_column t.string :max_incremental_value t.string :incremental_column_type t.string :export_to, :default => "destination_db" t.string :export_type, :default => "incremental" t.string :s3_path t.string :cron t.string :state, :default => "new" t.text :error t.boolean :active, :default => true t.integer :exporter_pid t.datetime :export_started_at, :default => nil t.datetime :export_finished_at, :default => nil t.timestamps end add_index :myreplicator_exports, [:source_schema, :destination_schema, :table_name], :unique => true, :name => "unique_index" end def self.down drop_table :myreplicator_exports end end
Version data entries
78 entries across 78 versions & 1 rubygems