Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 489
- Log:
Jan 2024 bounty system updates
- Author:
- rool
- Date:
- Sun Jan 28 09:30:54 +0000 2024
- Size:
- 4505 Bytes
1 | # This file is auto-generated from the current state of the database. Instead of editing this file, |
2 | # please use the migrations feature of Active Record to incrementally modify your database, and |
3 | # then regenerate this schema definition. |
4 | # |
5 | # Note that this schema.rb definition is the authoritative source for your database schema. If you need |
6 | # to create the application database on another system, you should be using db:schema:load, not running |
7 | # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations |
8 | # you'll amass, the slower it'll run and the greater likelihood for issues). |
9 | # |
10 | # It's strongly recommended to check this file into your version control system. |
11 | |
12 | ActiveRecord::Schema.define(:version => 20240126085900) do |
13 | |
14 | create_table "audits", :force => true do |t| |
15 | t.integer "auditable_id" |
16 | t.string "auditable_type" |
17 | t.integer "user_id" |
18 | t.string "user_type" |
19 | t.string "username" |
20 | t.string "action" |
21 | t.text "changes" |
22 | t.integer "version", :default => 0 |
23 | t.datetime "created_at" |
24 | end |
25 | |
26 | add_index "audits", ["auditable_id", "auditable_type"], :name => "auditable_index" |
27 | add_index "audits", ["created_at"], :name => "index_audits_on_created_at" |
28 | add_index "audits", ["user_id", "user_type"], :name => "user_index" |
29 | |
30 | create_table "currencies", :force => true do |t| |
31 | t.string "name", :limit => 160 |
32 | t.string "code", :limit => 3 |
33 | t.string "integer_template", :limit => 32 |
34 | t.string "delimiter", :limit => 8 |
35 | t.string "fraction_template", :limit => 16 |
36 | t.integer "decimal_precision", :default => 2, :null => false |
37 | t.string "rounding_algorithm", :limit => 32, :default => "mathematical", :null => false |
38 | t.string "symbol", :limit => 16 |
39 | t.boolean "show_after_number", :default => false, :null => false |
40 | end |
41 | |
42 | create_table "donations", :force => true do |t| |
43 | t.integer "user_id" |
44 | t.string "user_name", :limit => 150, :null => false |
45 | t.string "user_email", :limit => 200, :null => false |
46 | t.integer "poll_id" |
47 | t.string "poll_title", :limit => 60, :null => false |
48 | t.integer "currency_id" |
49 | t.string "workflow_state", :limit => 16, :null => false |
50 | t.boolean "redistribution", :default => false |
51 | t.boolean "debit", :default => false |
52 | t.integer "source_poll_id" |
53 | t.string "source_poll_title", :limit => 60 |
54 | t.integer "invoice_number" |
55 | t.text "notes" |
56 | t.text "authorisation_tokens" |
57 | t.string "amount_integer", :null => false |
58 | t.string "amount_fraction", :null => false |
59 | t.float "amount_for_sorting" |
60 | t.datetime "created_at" |
61 | t.datetime "updated_at" |
62 | end |
63 | |
64 | add_index "donations", ["currency_id"], :name => "index_donations_on_currency_id" |
65 | add_index "donations", ["poll_id"], :name => "index_donations_on_poll_id" |
66 | add_index "donations", ["user_id"], :name => "index_donations_on_user_id" |
67 | |
68 | create_table "invoice_numbers", :force => true do |t| |
69 | t.integer "last_number_used", :default => 0, :null => false |
70 | end |
71 | |
72 | create_table "polls", :force => true do |t| |
73 | t.string "title_en", :limit => 60 |
74 | t.text "description_en" |
75 | t.integer "votes" |
76 | t.integer "user_id" |
77 | t.integer "currency_id" |
78 | t.string "workflow_state", :limit => 16, :null => false |
79 | t.string "total_integer", :null => false |
80 | t.string "total_fraction", :null => false |
81 | t.float "total_for_sorting" |
82 | t.datetime "created_at" |
83 | t.datetime "updated_at" |
84 | t.string "target_integer" |
85 | t.string "target_fraction" |
86 | t.float "target_for_sorting" |
87 | end |
88 | |
89 | add_index "polls", ["currency_id"], :name => "index_polls_on_currency_id" |
90 | add_index "polls", ["user_id"], :name => "index_polls_on_user_id" |
91 | |
92 | create_table "users", :force => true do |t| |
93 | t.string "name", :limit => 150, :null => false |
94 | t.string "email", :limit => 200, :null => false |
95 | t.boolean "admin", :default => false |
96 | t.text "preferences" |
97 | t.datetime "created_at" |
98 | t.datetime "updated_at" |
99 | end |
100 | |
101 | end |