added a pay controller and model
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class CreatePays < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :pays do |t|
|
||||
t.integer :user_id
|
||||
t.string :bank_account_num
|
||||
t.string :bank_routing_num
|
||||
t.integer :percent_of_deposit
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
+10
-1
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20140312002642) do
|
||||
ActiveRecord::Schema.define(:version => 20140315002730) do
|
||||
|
||||
create_table "benefits", :force => true do |t|
|
||||
t.datetime "created_at", :null => false
|
||||
@@ -44,6 +44,15 @@ ActiveRecord::Schema.define(:version => 20140312002642) do
|
||||
t.datetime "updated_at", :null => false
|
||||
end
|
||||
|
||||
create_table "pays", :force => true do |t|
|
||||
t.integer "user_id"
|
||||
t.string "bank_account_num"
|
||||
t.string "bank_routing_num"
|
||||
t.integer "percent_of_deposit"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
end
|
||||
|
||||
create_table "performances", :force => true do |t|
|
||||
t.integer "user_id"
|
||||
t.date "date_submitted"
|
||||
|
||||
Reference in New Issue
Block a user