Skip to content

Instantly share code, notes, and snippets.

@roman
Created November 17, 2008 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roman/25972 to your computer and use it in GitHub Desktop.
Save roman/25972 to your computer and use it in GitHub Desktop.
migration 8, :add_projects_users do
up do
create_table :projects_users do
column :user_id, Integer, :key => true
column :project_id, Integer, :key => true
end
end
down do
drop_table :projects_users
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment