diff options
Diffstat (limited to 'db/migrate/20180629153018_create_site_statistics.rb')
-rw-r--r-- | db/migrate/20180629153018_create_site_statistics.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20180629153018_create_site_statistics.rb b/db/migrate/20180629153018_create_site_statistics.rb deleted file mode 100644 index 60a32b3b2a7..00000000000 --- a/db/migrate/20180629153018_create_site_statistics.rb +++ /dev/null @@ -1,18 +0,0 @@ -class CreateSiteStatistics < ActiveRecord::Migration[4.2] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def up - create_table :site_statistics do |t| - t.integer :repositories_count, default: 0, null: false - t.integer :wikis_count, default: 0, null: false - end - - execute('INSERT INTO site_statistics (id) VALUES(1)') - end - - def down - drop_table :site_statistics - end -end |