Skip to content

duncanbeevers/alter_table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alter_table allows you to modify several properties of a mysql table simultaneously.

Instead of issuing individual add_column table_name, column_name, type statements, you can bundle
these calls up in a block.

alter_table 'games' do |t|
  t.add_column 'body_class', :string
  t.add_column 'no_good', :boolean, :default => true, :null => false
end

About

Rails Plugin: perform multiple mysql table schema operations simultaneously

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages