baarkerlounger
3 years ago
7 changed files with 47 additions and 2 deletions
@ -0,0 +1,3 @@ |
|||||||
|
class OrganisationRentPeriod < ApplicationRecord |
||||||
|
belongs_to :organisation |
||||||
|
end |
@ -0,0 +1,10 @@ |
|||||||
|
class OrganisationRentPeriod < ActiveRecord::Migration[7.0] |
||||||
|
def change |
||||||
|
create_table :organisation_rent_periods do |t| |
||||||
|
t.belongs_to :organisation |
||||||
|
t.column :rent_period, :integer |
||||||
|
|
||||||
|
t.timestamps |
||||||
|
end |
||||||
|
end |
||||||
|
end |
@ -0,0 +1,5 @@ |
|||||||
|
<rent-period:rent-period xmlns:rent-period="dclg:rent-period"> |
||||||
|
<rent-period:id>ebd22326d33e389e9f1bfd546979d2c05f9e68d6</rent-period:id> |
||||||
|
<rent-period:institution>44026acc7ed5c29516b26f2a5deb639e5e37966d</rent-period:institution> |
||||||
|
<rent-period:period>1</rent-period:period> |
||||||
|
</rent-period:rent-period> |
Loading…
Reference in new issue