Sha256: d7d795ada17f14cedf4c4a58c979e4ce5e8067668cd23abcd14562ed0cd4cdfc
Contents?: true
Size: 523 Bytes
Versions: 9
Compression:
Stored size: 523 Bytes
Contents
class CreateDecidimOrganizations < ActiveRecord::Migration[5.0] def change create_table :decidim_organizations do |t| t.string :name, null: false t.string :host, null: false t.string :default_locale, null: false t.string :available_locales, array: true, default: [] t.jsonb :welcome_text, null: false t.string :homepage_image t.timestamps end add_index :decidim_organizations, :name, unique: true add_index :decidim_organizations, :host, unique: true end end
Version data entries
9 entries across 9 versions & 1 rubygems