Skip to content

Instantly share code, notes, and snippets.

@gen1321
Created April 28, 2016 12:51
Show Gist options
  • Save gen1321/cb47ff0a6b434619590545469f98d487 to your computer and use it in GitHub Desktop.
Save gen1321/cb47ff0a6b434619590545469f98d487 to your computer and use it in GitHub Desktop.
class CreatePermissions < ActiveRecord::Migration
def change
create_table :permissions do |t|
t.integer :publisher_id
t.integer :channel_id
t.timestamps null: false
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment