-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
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,11 @@ | ||
# EnjuInventory | ||
[![CircleCI](https://circleci.com/gh/next-l/enju_inventory.svg?style=svg)](https://circleci.com/gh/next-l/enju_inventory) | ||
[![Coverage Status](https://coveralls.io/repos/github/next-l/enju_inventory/badge.svg?branch=master)](https://coveralls.io/github/next-l/enju_inventory?branch=master) | ||
[![security](https://hakiri.io/github/next-l/enju_inventory/master.svg)](https://hakiri.io/github/next-l/enju_inventory/master) | ||
|
||
This project rocks and uses MIT-LICENSE. | ||
|
||
## 製作者・貢献者 (Authors and contributors) | ||
* [TANABE, Kosuke](https://github.com/nabeta) ([@nabeta](https://twitter.com/nabeta)) | ||
* [Project Next-L](https://www.next-l.jp) ([@ProjectNextL](https://twitter.com/ProjectNextL)) | ||
|
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
spec/dummy/db/migrate/20190311154610_create_periodicals.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,10 @@ | ||
class CreatePeriodicals < ActiveRecord::Migration[5.2] | ||
def change | ||
create_table :periodicals, id: :uuid do |t| | ||
t.text :original_title, null: false | ||
t.references :frequency, foreign_key: true, null: false | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
11 changes: 11 additions & 0 deletions
11
spec/dummy/db/migrate/20190312033839_create_periodical_and_manifestations.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,11 @@ | ||
class CreatePeriodicalAndManifestations < ActiveRecord::Migration[5.2] | ||
def change | ||
create_table :periodical_and_manifestations do |t| | ||
t.references :periodical, foreign_key: true, type: :uuid, null: false | ||
t.references :manifestation, foreign_key: true, type: :uuid, null: false | ||
t.boolean :periodical_master, default: false, null: false, index: {where: 'periodical_master IS true', unique: true} | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
7 changes: 7 additions & 0 deletions
7
spec/dummy/db/migrate/20190314151124_add_full_name_translations_to_create.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,7 @@ | ||
class AddFullNameTranslationsToCreate < ActiveRecord::Migration[5.2] | ||
def change | ||
add_column :creates, :full_name_translations, :jsonb, default: {} | ||
add_column :realizes, :full_name_translations, :jsonb, default: {} | ||
add_column :produces, :full_name_translations, :jsonb, default: {} | ||
end | ||
end |