Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Mar 22, 2019
1 parent afa8358 commit d267c30
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 10 deletions.
11 changes: 11 additions & 0 deletions README.md
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))

10 changes: 0 additions & 10 deletions README.rdoc

This file was deleted.

10 changes: 10 additions & 0 deletions spec/dummy/db/migrate/20190311154610_create_periodicals.rb
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
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
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

0 comments on commit d267c30

Please sign in to comment.