Skip to content

Commit 3e8d3b9

Browse files
author
Sanjiv Jha
committed
Schema updated
1 parent 9d7b1c0 commit 3e8d3b9

2 files changed

Lines changed: 36 additions & 36 deletions

File tree

app/assets/javascripts/i18n/translations.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

db/schema.rb

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
ActiveRecord::Schema.define(version: 20150620054216) do
1515

16-
create_table "collaborators", force: true do |t|
16+
create_table "collaborators", force: :cascade do |t|
1717
t.integer "project_id"
1818
t.string "login"
1919
t.datetime "created_at"
@@ -22,9 +22,9 @@
2222

2323
add_index "collaborators", ["project_id"], name: "index_collaborators_on_project_id"
2424

25-
create_table "deposits", force: true do |t|
25+
create_table "deposits", force: :cascade do |t|
2626
t.integer "project_id"
27-
t.string "txid"
27+
t.string "txid", limit: 255
2828
t.integer "confirmations"
2929
t.datetime "created_at"
3030
t.datetime "updated_at"
@@ -34,22 +34,22 @@
3434

3535
add_index "deposits", ["project_id"], name: "index_deposits_on_project_id"
3636

37-
create_table "projects", force: true do |t|
38-
t.string "url"
39-
t.string "bitcoin_address"
37+
create_table "projects", force: :cascade do |t|
38+
t.string "url", limit: 255
39+
t.string "bitcoin_address", limit: 255
4040
t.datetime "created_at"
4141
t.datetime "updated_at"
42-
t.string "name"
43-
t.string "full_name"
44-
t.string "source_full_name"
42+
t.string "name", limit: 255
43+
t.string "full_name", limit: 255
44+
t.string "source_full_name", limit: 255
4545
t.text "description"
4646
t.integer "watchers_count"
47-
t.string "language"
48-
t.string "last_commit"
47+
t.string "language", limit: 255
48+
t.string "last_commit", limit: 255
4949
t.integer "available_amount_cache"
50-
t.string "github_id"
51-
t.string "host", default: "github"
52-
t.boolean "hold_tips", default: false
50+
t.string "github_id", limit: 255
51+
t.string "host", default: "github"
52+
t.boolean "hold_tips", default: false
5353
t.datetime "info_updated_at"
5454
t.string "branch"
5555
t.boolean "disable_notifications"
@@ -60,16 +60,16 @@
6060
add_index "projects", ["full_name"], name: "index_projects_on_full_name", unique: true
6161
add_index "projects", ["github_id"], name: "index_projects_on_github_id", unique: true
6262

63-
create_table "sendmanies", force: true do |t|
64-
t.string "txid"
63+
create_table "sendmanies", force: :cascade do |t|
64+
t.string "txid", limit: 255
6565
t.text "data"
66-
t.string "result"
66+
t.string "result", limit: 255
6767
t.boolean "is_error"
6868
t.datetime "created_at"
6969
t.datetime "updated_at"
7070
end
7171

72-
create_table "tipping_policies_texts", force: true do |t|
72+
create_table "tipping_policies_texts", force: :cascade do |t|
7373
t.integer "project_id"
7474
t.integer "user_id"
7575
t.text "text"
@@ -80,13 +80,13 @@
8080
add_index "tipping_policies_texts", ["project_id"], name: "index_tipping_policies_texts_on_project_id"
8181
add_index "tipping_policies_texts", ["user_id"], name: "index_tipping_policies_texts_on_user_id"
8282

83-
create_table "tips", force: true do |t|
83+
create_table "tips", force: :cascade do |t|
8484
t.integer "user_id"
8585
t.integer "amount", limit: 8
8686
t.integer "sendmany_id"
8787
t.datetime "created_at"
8888
t.datetime "updated_at"
89-
t.string "commit"
89+
t.string "commit", limit: 255
9090
t.integer "project_id"
9191
t.datetime "refunded_at"
9292
t.text "commit_message"
@@ -97,34 +97,34 @@
9797
add_index "tips", ["sendmany_id"], name: "index_tips_on_sendmany_id"
9898
add_index "tips", ["user_id"], name: "index_tips_on_user_id"
9999

100-
create_table "users", force: true do |t|
101-
t.string "email", default: "", null: false
102-
t.string "encrypted_password", default: "", null: false
103-
t.string "reset_password_token"
100+
create_table "users", force: :cascade do |t|
101+
t.string "email", limit: 255, default: "", null: false
102+
t.string "encrypted_password", limit: 255, default: "", null: false
103+
t.string "reset_password_token", limit: 255
104104
t.datetime "reset_password_sent_at"
105105
t.datetime "remember_created_at"
106-
t.integer "sign_in_count", default: 0, null: false
106+
t.integer "sign_in_count", default: 0, null: false
107107
t.datetime "current_sign_in_at"
108108
t.datetime "last_sign_in_at"
109-
t.string "current_sign_in_ip"
110-
t.string "last_sign_in_ip"
109+
t.string "current_sign_in_ip", limit: 255
110+
t.string "last_sign_in_ip", limit: 255
111111
t.datetime "created_at"
112112
t.datetime "updated_at"
113-
t.string "nickname"
114-
t.string "name"
115-
t.string "image"
116-
t.string "bitcoin_address"
117-
t.string "login_token"
113+
t.string "nickname", limit: 255
114+
t.string "name", limit: 255
115+
t.string "image", limit: 255
116+
t.string "bitcoin_address", limit: 255
117+
t.string "login_token", limit: 255
118118
t.boolean "unsubscribed"
119119
t.datetime "notified_at"
120-
t.integer "commits_count", default: 0
121-
t.integer "withdrawn_amount", limit: 8, default: 0
120+
t.integer "commits_count", default: 0
121+
t.integer "withdrawn_amount", limit: 8, default: 0
122122
t.datetime "confirmed_at"
123123
t.datetime "confirmation_sent_at"
124124
t.string "confirmation_token"
125125
t.string "unconfirmed_email"
126126
t.string "display_name"
127-
t.integer "denom", default: 0
127+
t.integer "denom", default: 0
128128
end
129129

130130
add_index "users", ["email"], name: "index_users_on_email", unique: true

0 commit comments

Comments
 (0)