Sha256: 142666b0cf604aa885f1b599ec08061ce31ccb9fd0f222c517aa1de49441b817
Contents?: true
Size: 467 Bytes
Versions: 8
Compression:
Stored size: 467 Bytes
Contents
class CreateRubySyncOperations < ActiveRecord::Migration def self.up create_table :ruby_sync_operations do |t| t.column 'operation', :string, :limit=>8 # add, delete or replace t.column 'field_name', :string t.column 'ruby_sync_event_id', :integer end add_index :ruby_sync_operations, :ruby_sync_event_id end def self.down remove_index :ruby_sync_operations, :ruby_sync_event_id drop_table :ruby_sync_operations end end
Version data entries
8 entries across 8 versions & 1 rubygems