forked from mbulat/plutus
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Until we merge the feature that always turns on tenancy (mbulat#79), we must keep the dummy Rails app's migrations disjoint from what `rake plutus:migrations:install` actually copies over
- Loading branch information
1 parent
a2b678a
commit d3de0bf
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
fixture_rails_root/db/migrate/20180709082453_tenant_plutus_tables.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class TenantPlutusTables < ActiveRecord::Migration[4.2] | ||
def change | ||
# add a tenant column to plutus accounts table. | ||
add_column :plutus_accounts, :tenant_id, :integer, index: true | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters