Files
old-holivud2/db/migrate/20181208001821_create_contract_templates.rb
2020-05-31 22:38:19 +02:00

14 lines
295 B
Ruby

class CreateContractTemplates < ActiveRecord::Migration[5.2]
def change
create_table :contract_templates do |t|
t.belongs_to :project, foreign_key: true
t.string :name
t.text :body
t.text :guardian_clause
t.monetize :fee
t.timestamps
end
end
end