aboutsummaryrefslogtreecommitdiffstats
path: root/android/app/src/webview
diff options
context:
space:
mode:
Diffstat (limited to 'android/app/src/webview')
0 files changed, 0 insertions, 0 deletions
001_create_database.rb?h=prod&id=86918fe5eee925a1a1eb0b836e177b247c0700b9'>plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class CreateDatabase <  ActiveRecord::Migration
  def change 
    create_table :users do |t|
      t.string :login
      t.string :password
      t.string :name
      t.string :address
      t.decimal :credit, :precision => 10, :scale => 2
      t.string :logo
      t.decimal :commission, :precision => 10, :scale => 2
    end

    create_table :transactions do |t|
      t.string :address
      t.decimal :amount, :precision => 10, :scale => 2
      t.decimal :exchange, :precision => 10, :scale => 2
      t.timestamps
    end
  end
end