Created
August 24, 2017 19:08
-
-
Save nicolasblanco/e11d56f6d8d75d9c6b71851763af2b8f to your computer and use it in GitHub Desktop.
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
class CreateProducts < ActiveRecord::Migration[5.1] | |
def change | |
create_table :products do |t| | |
t.string :sku | |
t.json :name_translations, default: {} | |
t.json :description_translations, default: {} | |
t.timestamps | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment