Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 95f567c720
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.341 kb
class CreateGistFiles < ActiveRecord::Migration
def change
create_table :gist_files do |t|
t.integer :gist_id
t.string :filename, :raw_url, :language, :file_type
t.text :content
t.integer :size_bytes
t.timestamps
end
add_index :gist_files, :gist_id
add_index :gist_files, :filename
end
end
Jump to Line
Something went wrong with that request. Please try again.