Sha256: d84b5e0e6bba09ade1b08ff7e21d21e03abbf1471e2aa6ea047c4e87529d8664
Contents?: true
Size: 926 Bytes
Versions: 12
Compression:
Stored size: 926 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.datetime :last_run, :default => nil t.string :state, :default => "new" t.text :error t.boolean :active, :default => true 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
12 entries across 12 versions & 1 rubygems