Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20151103134857_create_lfs_objects.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: db6fa27199bd9a2edb8d73c84411b5247952a893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# rubocop:disable all
class CreateLfsObjects < ActiveRecord::Migration
  DOWNTIME = false

  def change
    create_table :lfs_objects do |t|
      t.string :oid, null: false, unique: true
      t.integer :size, null: false

      t.timestamps null: true
    end
  end
end