Commit 3031209b authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix db/schema.rb

parent f88d9cee
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
ActiveRecord::Schema.define(version: 20150924131004) do ActiveRecord::Schema.define(version: 20150924131004) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "abuse_reports", force: true do |t| create_table "abuse_reports", force: true do |t|
t.integer "reporter_id" t.integer "reporter_id"
t.integer "user_id" t.integer "user_id"
...@@ -82,12 +85,12 @@ ActiveRecord::Schema.define(version: 20150924131004) do ...@@ -82,12 +85,12 @@ ActiveRecord::Schema.define(version: 20150924131004) do
t.integer "project_id" t.integer "project_id"
t.string "status" t.string "status"
t.datetime "finished_at" t.datetime "finished_at"
t.text "trace", limit: 2147483647 t.text "trace"
t.datetime "created_at" t.datetime "created_at"
t.datetime "updated_at" t.datetime "updated_at"
t.datetime "started_at" t.datetime "started_at"
t.integer "runner_id" t.integer "runner_id"
t.float "coverage", limit: 24 t.float "coverage"
t.integer "commit_id" t.integer "commit_id"
t.text "commands" t.text "commands"
t.integer "job_id" t.integer "job_id"
...@@ -110,7 +113,7 @@ ActiveRecord::Schema.define(version: 20150924131004) do ...@@ -110,7 +113,7 @@ ActiveRecord::Schema.define(version: 20150924131004) do
t.string "ref" t.string "ref"
t.string "sha" t.string "sha"
t.string "before_sha" t.string "before_sha"
t.text "push_data", limit: 16777215 t.text "push_data"
t.datetime "created_at" t.datetime "created_at"
t.datetime "updated_at" t.datetime "updated_at"
t.boolean "tag", default: false t.boolean "tag", default: false
...@@ -430,8 +433,8 @@ ActiveRecord::Schema.define(version: 20150924131004) do ...@@ -430,8 +433,8 @@ ActiveRecord::Schema.define(version: 20150924131004) do
create_table "merge_request_diffs", force: true do |t| create_table "merge_request_diffs", force: true do |t|
t.string "state" t.string "state"
t.text "st_commits", limit: 2147483647 t.text "st_commits"
t.text "st_diffs", limit: 2147483647 t.text "st_diffs"
t.integer "merge_request_id", null: false t.integer "merge_request_id", null: false
t.datetime "created_at" t.datetime "created_at"
t.datetime "updated_at" t.datetime "updated_at"
...@@ -515,7 +518,7 @@ ActiveRecord::Schema.define(version: 20150924131004) do ...@@ -515,7 +518,7 @@ ActiveRecord::Schema.define(version: 20150924131004) do
t.string "commit_id" t.string "commit_id"
t.integer "noteable_id" t.integer "noteable_id"
t.boolean "system", default: false, null: false t.boolean "system", default: false, null: false
t.text "st_diff", limit: 2147483647 t.text "st_diff"
t.integer "updated_by_id" t.integer "updated_by_id"
end end
...@@ -598,7 +601,7 @@ ActiveRecord::Schema.define(version: 20150924131004) do ...@@ -598,7 +601,7 @@ ActiveRecord::Schema.define(version: 20150924131004) do
t.boolean "archived", default: false, null: false t.boolean "archived", default: false, null: false
t.string "avatar" t.string "avatar"
t.string "import_status" t.string "import_status"
t.float "repository_size", limit: 24, default: 0.0 t.float "repository_size", default: 0.0
t.integer "star_count", default: 0, null: false t.integer "star_count", default: 0, null: false
t.string "import_type" t.string "import_type"
t.string "import_source" t.string "import_source"
...@@ -655,7 +658,7 @@ ActiveRecord::Schema.define(version: 20150924131004) do ...@@ -655,7 +658,7 @@ ActiveRecord::Schema.define(version: 20150924131004) do
create_table "snippets", force: true do |t| create_table "snippets", force: true do |t|
t.string "title" t.string "title"
t.text "content", limit: 2147483647 t.text "content"
t.integer "author_id", null: false t.integer "author_id", null: false
t.integer "project_id" t.integer "project_id"
t.datetime "created_at" t.datetime "created_at"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment