Sha256: fe39022472139e2d0a3e5ff38404adf2073da3637894944709717c4736a2c406
Contents?: true
Size: 442 Bytes
Versions: 4
Compression:
Stored size: 442 Bytes
Contents
class CreateRepo < ActiveRecord::Migration def self.up create_table "repos", :force => true do |t| t.column :url, :string t.column :name, :string t.column :working_dir, :string t.column :branch, :string t.column :gb_id, :integer t.column :github_data, :text t.column :cached, :boolean end add_index :repos, :gb_id, :unique => true end def self.down drop_table "repo" end end
Version data entries
4 entries across 4 versions & 1 rubygems