diff options
| author | Adam Soltys <[email protected]> | 2012-11-07 11:50:43 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2012-11-07 11:50:43 -0800 |
| commit | 5a4e3ff9bf1db2db4fc5ae8d3bd7dcefc8c58e25 (patch) | |
| tree | 6fa4b507e859b92374b3114fe6073174efe0d10d /db | |
| parent | 22a115eade730e7c02a25bef35b45bbb1f1a63f0 (diff) | |
| download | coinos-server-5a4e3ff9bf1db2db4fc5ae8d3bd7dcefc8c58e25.tar.gz coinos-server-5a4e3ff9bf1db2db4fc5ae8d3bd7dcefc8c58e25.zip | |
Store and use commission rate, move DB connection info into separate file
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrations/002_add_commission.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrations/002_add_commission.rb b/db/migrations/002_add_commission.rb new file mode 100644 index 00000000..f8b5add8 --- /dev/null +++ b/db/migrations/002_add_commission.rb @@ -0,0 +1,5 @@ +class AddCommission < ActiveRecord::Migration + def change + add_column :users, :commission, :decimal, :precision => 10, :scale => 2 + end +end |
