Lines Matching defs:push
207 push(:up, "execute <<-SQL\n#{drop_old_function} SQL\n")
208 push(:up, "execute <<-SQL\n#{create_new_function} SQL\n")
210 push(:down, "execute <<-SQL\n#{drop_new_function} SQL\n")
211 push(:down, "execute <<-SQL\n#{create_old_function} SQL\n")
220 push(:up, "rename_table '#{old_name}', '#{new_name}'")
221 push(:down, "rename_table '#{new_name}', '#{old_name}'")
233 push(:up, "rename_column '#{table_name}', "\
235 push(:down, "rename_column '#{table_name}', "\
268 push(:up, "remove_index '#{table_name}', name: '#{old_index_name}'")
269 push(:down, "add_index '#{old_table_name}', [#{old_column_names}], "\
272 push(:up, "add_index '#{table_name}', [#{column_names}], "\
274 push(:down, "remove_index '#{old_table_name}', name: '#{index_name}'")
287 push(:up, "execute \"ALTER TABLE ONLY #{table} "\
289 push(:down, "execute \"ALTER TABLE ONLY #{table} "\
309 push(:up, "execute \"ALTER TABLE ONLY #{table} "\
311 push(:up, "execute \"ALTER TABLE ONLY #{table} "\
315 push(:down, "execute \"ALTER TABLE ONLY #{table} "\
317 push(:down, "execute \"ALTER TABLE ONLY #{table} "\
358 def push(*args)